public ChannelPipeline getPipeline() throws Exception
{
ChannelPipeline pipeline = StopablePipeline.pipeline();
// pipeline.addLast("logger1",new OutLogger("1"));
pipeline.addLast("ipfilter", _ipFilter);
pipeline.addLast("inputStream", new InputStreamDecoder());
// pipeline.addLast("logger2",new OutLogger("2"));
pipeline.addLast("outputStream", new OutputStreamEncoder());
pipeline.addLast("callDecoder", new PullInputStreamConsumer(new HessianRPCCallDecoder(new JmxSerializerFactory()), _executor));
pipeline.addLast("replyEncoder", new HessianRPCReplyEncoder(new JmxSerializerFactory()));
// pipeline.addLast("logger3",new OutLogger("3"));