MCPcopy Create free account
hub / github.com/apache/arrow / Init

Method Init

cpp/src/arrow/flight/server.cc:155–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153FlightServerBase::~FlightServerBase() {}
154
155Status FlightServerBase::Init(const FlightServerOptions& options) {
156 flight::transport::grpc::InitializeFlightGrpcServer();
157
158 const auto scheme = options.location.scheme();
159 ARROW_ASSIGN_OR_RAISE(impl_->transport_,
160 internal::GetDefaultTransportRegistry()->MakeServer(
161 scheme, this, options.memory_manager));
162 return impl_->transport_->Init(options, *options.location.uri_);
163}
164
165int FlightServerBase::port() const { return location().uri_->port(); }
166

Callers 13

mainFunction · 0.45
mainFunction · 0.45
ServeMethod · 0.45
TESTFunction · 0.45
ASSERT_OK_AND_ASSIGNFunction · 0.45
MakeServerFunction · 0.45
ConnectMethod · 0.45
TestGetPortMethod · 0.45
TestBuilderHookMethod · 0.45
TestShutdownMethod · 0.45
TestBrokenConnectionMethod · 0.45

Calls 5

ARROW_ASSIGN_OR_RAISEFunction · 0.70
schemeMethod · 0.45
MakeServerMethod · 0.45

Tested by 10

mainFunction · 0.36
TESTFunction · 0.36
ASSERT_OK_AND_ASSIGNFunction · 0.36
MakeServerFunction · 0.36
TestGetPortMethod · 0.36
TestBuilderHookMethod · 0.36
TestShutdownMethod · 0.36
TestBrokenConnectionMethod · 0.36
SetUpTestMethod · 0.36