public class FlightServer extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static interface |
FlightServer.FlightServerHandler |
static interface |
FlightServer.OutputFlight |
| Constructor and Description |
|---|
FlightServer(BufferAllocator allocator,
int port,
FlightProducer producer,
ServerAuthHandler authHandler) |
public FlightServer(BufferAllocator allocator, int port, FlightProducer producer, ServerAuthHandler authHandler)
public FlightServer start() throws IOException
IOExceptionpublic int getPort()
public void close()
throws InterruptedException
close in interface AutoCloseableInterruptedExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.