@ChannelPipelineCoverage(value="one")
public class SmppSimulatorServerHandler
extends org.jboss.netty.channel.SimpleChannelHandler
| Constructor and Description |
|---|
SmppSimulatorServerHandler(org.jboss.netty.channel.group.ChannelGroup sessionChannels) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelBound(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
Invoked when a Channel was unbound from the current local address.
|
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
Invoked when a Channel was closed and all its related resources were released.
|
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
Invoked when a Channel was disconnected from its remote peer.
|
void |
channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
Invoked when a Channel was disconnected from its remote peer.
|
void |
channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
Invoked when a Channel was closed and all its related resources were released.
|
void |
channelUnbound(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
Invoked when a Channel was unbound from the current local address.
|
void |
childChannelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChildChannelStateEvent e)
Invoked when a child
Channel was closed. |
void |
childChannelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChildChannelStateEvent e) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
Invoked when an exception was raised by an I/O thread or an upstream handler.
|
SmppSimulatorPduProcessor |
getDefaultPduProcessor() |
BlockingQueue<SmppSimulatorSessionHandler> |
getSessionQueue() |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
setDefaultPduProcessor(SmppSimulatorPduProcessor pduProcessor) |
public SmppSimulatorServerHandler(org.jboss.netty.channel.group.ChannelGroup sessionChannels)
public SmppSimulatorPduProcessor getDefaultPduProcessor()
public void setDefaultPduProcessor(SmppSimulatorPduProcessor pduProcessor)
public BlockingQueue<SmppSimulatorSessionHandler> getSessionQueue()
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void childChannelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChildChannelStateEvent e)
throws Exception
childChannelOpen in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void childChannelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChildChannelStateEvent e)
throws Exception
Channel was closed.
(e.g. the accepted connection was closed)childChannelClosed in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
exceptionCaught in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelConnected in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelBound(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelBound in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelOpen in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelDisconnected in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelUnbound(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelUnbound in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelClosed in class org.jboss.netty.channel.SimpleChannelHandlerExceptionCopyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.