use of org.jboss.netty.channel.ChannelEvent in project graphdb by neo4j-attic.
the class Client method getPipeline.
public ChannelPipeline getPipeline() throws Exception {
ChannelPipeline pipeline = Channels.pipeline();
addLengthFieldPipes(pipeline);
BlockingReadHandler<ChannelBuffer> reader = new BlockingReadHandler<ChannelBuffer>(new ArrayBlockingQueue<ChannelEvent>(3, false));
pipeline.addLast("blockingHandler", reader);
return pipeline;
}
Aggregations