use of info.xiancloud.nettyhttpserver.http.handler.IdleEventListener in project xian by happyyangyuan.
the class DefaultInitializer method initIdleStateHandlers.
private void initIdleStateHandlers(ChannelPipeline p) {
p.addLast("idleStateHandler", new IdleStateHandler(ReqQueue.TIMEOUT_IN_MILLIS, ReqQueue.TIMEOUT_IN_MILLIS, ReqQueue.TIMEOUT_IN_MILLIS, TimeUnit.MILLISECONDS));
p.addLast("idleEventListener", new IdleEventListener());
}
Aggregations