public ChannelHandler [ ] getClientChannelHandlers ( ) { NetworkClientHandler networkClientHandler = creditBasedEnabled ? new CreditBasedPartitionRequestClientHandler ( ) : new PartitionRequestClientHandler ( ) ; return new ChannelHandler [ ] { messageEncoder , new NettyMessage . NettyMessageDecoder ( ! creditBasedEnabled ) , networkClientHandler } ; }
Returns the client channel handlers .