use of com.zx.sms.session.sgip.SgipSessionLoginManager in project SMSGate by Lihuanghe.
the class SgipClientEndpointConnector method doinitPipeLine.
@Override
protected void doinitPipeLine(ChannelPipeline pipeline) {
EndpointEntity entity = getEndpointEntity();
pipeline.addLast(GlobalConstance.IdleCheckerHandlerName, new IdleStateHandler(0, 0, entity.getIdleTimeSec(), TimeUnit.SECONDS));
pipeline.addLast("SgipServerIdleStateHandler", GlobalConstance.sgipidleHandler);
pipeline.addLast(SgipCodecChannelInitializer.pipeName(), new SgipCodecChannelInitializer());
pipeline.addLast("sessionLoginManager", new SgipSessionLoginManager(getEndpointEntity()));
}
use of com.zx.sms.session.sgip.SgipSessionLoginManager in project SMSGate by Lihuanghe.
the class SgipServerEndpointConnector method doinitPipeLine.
@Override
protected void doinitPipeLine(ChannelPipeline pipeline) {
super.doinitPipeLine(pipeline);
EndpointEntity entity = getEndpointEntity();
pipeline.addLast(GlobalConstance.IdleCheckerHandlerName, new IdleStateHandler(0, 0, entity.getIdleTimeSec(), TimeUnit.SECONDS));
pipeline.addLast("SgipServerIdleStateHandler", GlobalConstance.sgipidleHandler);
pipeline.addLast(SgipCodecChannelInitializer.pipeName(), new SgipCodecChannelInitializer());
pipeline.addLast("sessionLoginManager", new SgipSessionLoginManager(getEndpointEntity()));
}
Aggregations