use of com.hazelcast.internal.networking.OutboundHandler in project hazelcast by hazelcast.
the class UnifiedProtocolEncoder method initChannelForCluster.
private void initChannelForCluster() {
channel.options().setOption(SO_SNDBUF, props.getInteger(SOCKET_SEND_BUFFER_SIZE) * KILO_BYTE);
ServerConnection connection = (TcpServerConnection) channel.attributeMap().get(ServerConnection.class);
OutboundHandler[] handlers = serverContext.createOutboundHandlers(EndpointQualifier.MEMBER, connection);
channel.outboundPipeline().replace(this, handlers);
}
Aggregations