this.channel.getPipeline()
.getContext(ServerChannelPipelineFactory.OUTBOUND_RELIABILITY_HANDLER)
);
//Set the ChannelHandlerContext for the inbound reliability handler
InboundReliabilityHandler inboundReliabilityHandler =
(InboundReliabilityHandler) this.channel.getPipeline()
.get(ServerChannelPipelineFactory.INBOUND_RELIABILITY_HANDLER);
inboundReliabilityHandler.setChannelHandlerContext(
this.channel.getPipeline()
.getContext(ServerChannelPipelineFactory.INBOUND_RELIABILITY_HANDLER)
);
}