46474849505152535455
return new ChannelPipelineFactory() { @Override public ChannelPipeline getPipeline() throws Exception { ChannelPipeline cp = Channels.pipeline(); cp.addLast("thriftUnframedDecoder", new ThriftUnframedDecoder()); return cp; } }; }
61626364656667686970
64656667686970717273
@Override public ChannelPipeline getPipeline() throws Exception { ChannelPipeline cp = Channels.pipeline(); TimeoutHandler.addToPipeline(cp); cp.addLast("thriftUnframedDecoder", new ThriftUnframedDecoder()); return cp; } }; }