public class DataServer extends BasicServer<BitData.RpcType,DataServerConnection>
BasicServer.ServerHandshakeHandler<T extends com.google.protobuf.MessageLite>RpcBus.ChannelClosedHandler, RpcBus.InboundHandler| Constructor and Description |
|---|
DataServer(org.apache.drill.exec.rpc.data.DataConnectionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture> |
getCloseHandler(io.netty.channel.socket.SocketChannel ch,
DataServerConnection connection) |
protected ProtobufLengthDecoder |
getDecoder(BufferAllocator allocator,
OutOfMemoryHandler outOfMemoryHandler) |
protected BasicServer.ServerHandshakeHandler<BitData.BitClientHandshake> |
getHandshakeHandler(DataServerConnection connection) |
protected OutOfMemoryHandler |
getOutOfMemoryHandler() |
com.google.protobuf.MessageLite |
getResponseDefaultInstance(int rpcType) |
protected DataServerConnection |
initRemoteConnection(io.netty.channel.socket.SocketChannel channel) |
bind, close, closeSSL, handle, isSslEnabled, setSslChannel, setupSSLpublic DataServer(org.apache.drill.exec.rpc.data.DataConnectionConfig config)
public com.google.protobuf.MessageLite getResponseDefaultInstance(int rpcType)
throws RpcException
getResponseDefaultInstance in class BasicServer<BitData.RpcType,DataServerConnection>RpcExceptionprotected io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture> getCloseHandler(io.netty.channel.socket.SocketChannel ch,
DataServerConnection connection)
getCloseHandler in class RpcBus<BitData.RpcType,DataServerConnection>protected DataServerConnection initRemoteConnection(io.netty.channel.socket.SocketChannel channel)
initRemoteConnection in class BasicServer<BitData.RpcType,DataServerConnection>protected BasicServer.ServerHandshakeHandler<BitData.BitClientHandshake> getHandshakeHandler(DataServerConnection connection)
getHandshakeHandler in class BasicServer<BitData.RpcType,DataServerConnection>protected OutOfMemoryHandler getOutOfMemoryHandler()
getOutOfMemoryHandler in class BasicServer<BitData.RpcType,DataServerConnection>protected ProtobufLengthDecoder getDecoder(BufferAllocator allocator, OutOfMemoryHandler outOfMemoryHandler)
getDecoder in class BasicServer<BitData.RpcType,DataServerConnection>Copyright © 2017 The Apache Software Foundation. All rights reserved.