TransportContext is…FIXME
TransportChannelHandler createChannelHandler(Channel channel, RpcHandler rpcHandler)createChannelHandler…FIXME
|
Note
|
createChannelHandler is used exclusively when TransportContext is requested to initializePipeline.
|
TransportChannelHandler initializePipeline(SocketChannel channel) // (1)
TransportChannelHandler initializePipeline(
SocketChannel channel,
RpcHandler channelRpcHandler)-
Simply calls the other
initializePipelinewith the RpcHandler
initializePipeline…FIXME
|
Note
|
|
TransportServer createServer() // (1)
TransportServer createServer(int port, List<TransportServerBootstrap> bootstraps) // (2)
TransportServer createServer(List<TransportServerBootstrap> bootstraps) // (3)
TransportServer createServer(
String host, int port, List<TransportServerBootstrap> bootstraps)-
Uses
0for the port and no bootstraps. Used exclusively for testing -
Uses
nullfor the host -
Used exclusively for testing
createServer simply creates a TransportServer (with the current TransportContext, the host, the port, the RpcHandler and the bootstraps).
|
Note
|
|