Class BasicServer<T extends com.google.protobuf.Internal.EnumLite,SC extends ServerConnection<SC>>

java.lang.Object
org.apache.drill.exec.rpc.RpcBus<T,SC>
org.apache.drill.exec.rpc.BasicServer<T,SC>
Type Parameters:
T - RPC type
SC - server connection type
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
ControlServer, DataServer, UserServer

public abstract class BasicServer<T extends com.google.protobuf.Internal.EnumLite,SC extends ServerConnection<SC>> extends RpcBus<T,SC>
A server is bound to a port and is responsible for responding to various type of requests. In some cases, the inbound requests will generate more than one outbound request.
  • Constructor Details

    • BasicServer

      public BasicServer(RpcConfig rpcMapping, io.netty.buffer.ByteBufAllocator alloc, io.netty.channel.EventLoopGroup eventLoopGroup)
  • Method Details