public interface ChannelInitializer
Modifier and Type | Method and Description |
---|---|
InitResult<ChannelInboundHandler> |
initInbound(Channel channel)
Called when the Channel receives the first data.
|
InitResult<ChannelOutboundHandler> |
initOutbound(Channel channel)
Called when the Channel writes the first data.
|
InitResult<ChannelInboundHandler> initInbound(Channel channel) throws IOException
initOutbound(Channel)
.channel
- the Channel
that requires initializationIOException
InitResult<ChannelOutboundHandler> initOutbound(Channel channel)
initInbound(Channel)
.channel
- the Channel
that requires initializationCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.