public interface ChannelFactory
Channel
instances.
Currently this interface is suboptimal. It imposes a SocketChanel as a basis. Probably once the TLS is integrated
directly in the pipeline of the Channel, this whole factory can be dropped. TLS can then be added through a
ChannelInboundHandler/ChannelOutboundHandler.Modifier and Type | Method and Description |
---|---|
Channel |
create(SocketChannel channel,
boolean clientMode,
boolean directBuffer)
Creates the Channel.
|
Channel create(SocketChannel channel, boolean clientMode, boolean directBuffer) throws Exception
Exception
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.