public class ControlServer extends BasicServer<BitControl.RpcType,ControlConnection>
BasicServer.ServerHandshakeHandler<T extends com.google.protobuf.MessageLite>RpcBus.ChannelClosedHandler, RpcBus.InboundHandler| Constructor and Description |
|---|
ControlServer(ControlConnectionConfig config,
ConnectionManagerRegistry connectionRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture> |
getCloseHandler(io.netty.channel.socket.SocketChannel ch,
ControlConnection connection) |
protected ProtobufLengthDecoder |
getDecoder(BufferAllocator allocator,
OutOfMemoryHandler outOfMemoryHandler) |
protected BasicServer.ServerHandshakeHandler<BitControl.BitControlHandshake> |
getHandshakeHandler(ControlConnection connection) |
com.google.protobuf.MessageLite |
getResponseDefaultInstance(int rpcType) |
protected ControlConnection |
initRemoteConnection(io.netty.channel.socket.SocketChannel channel) |
bind, close, closeSSL, getOutOfMemoryHandler, handle, isSslEnabled, setSslChannel, setupSSLpublic ControlServer(ControlConnectionConfig config, ConnectionManagerRegistry connectionRegistry)
public com.google.protobuf.MessageLite getResponseDefaultInstance(int rpcType)
throws RpcException
getResponseDefaultInstance in class BasicServer<BitControl.RpcType,ControlConnection>RpcExceptionprotected io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture> getCloseHandler(io.netty.channel.socket.SocketChannel ch,
ControlConnection connection)
getCloseHandler in class RpcBus<BitControl.RpcType,ControlConnection>protected ControlConnection initRemoteConnection(io.netty.channel.socket.SocketChannel channel)
initRemoteConnection in class BasicServer<BitControl.RpcType,ControlConnection>protected BasicServer.ServerHandshakeHandler<BitControl.BitControlHandshake> getHandshakeHandler(ControlConnection connection)
getHandshakeHandler in class BasicServer<BitControl.RpcType,ControlConnection>protected ProtobufLengthDecoder getDecoder(BufferAllocator allocator, OutOfMemoryHandler outOfMemoryHandler)
getDecoder in class BasicServer<BitControl.RpcType,ControlConnection>Copyright © 2022 The Apache Software Foundation. All rights reserved.