use of com.zx.sms.session.smpp.SMPPSessionLoginManager in project SMSGate by Lihuanghe.
the class SMPPClientEndpointConnector 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("SmppServerIdleStateHandler", GlobalConstance.smppidleHandler);
pipeline.addLast(SMPPCodecChannelInitializer.pipeName(), new SMPPCodecChannelInitializer());
pipeline.addLast("sessionLoginManager", new SMPPSessionLoginManager(getEndpointEntity()));
}
use of com.zx.sms.session.smpp.SMPPSessionLoginManager in project SMSGate by Lihuanghe.
the class SMPPServerEndpointConnector 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("SmppServerIdleStateHandler", GlobalConstance.smppidleHandler);
pipeline.addLast(SMPPCodecChannelInitializer.pipeName(), new SMPPCodecChannelInitializer());
pipeline.addLast("sessionLoginManager", new SMPPSessionLoginManager(getEndpointEntity()));
}
Aggregations