use of org.jboss.netty.handler.timeout.ReadTimeoutHandler in project socket.io-netty by ibdknox.
the class FlashPolicyServerPipelineFactory method getPipeline.
public ChannelPipeline getPipeline() throws Exception {
// Create a default pipeline implementation.
ChannelPipeline pipeline = pipeline();
pipeline.addLast("timeout", new ReadTimeoutHandler(timer, 30));
pipeline.addLast("decoder", new FlashPolicyServerDecoder());
pipeline.addLast("handler", new FlashPolicyServerHandler());
return pipeline;
}
Aggregations