public class UnboundSmppSession extends Object implements SmppSessionChannelListener
| Constructor and Description |
|---|
UnboundSmppSession(String channelName,
org.jboss.netty.channel.Channel channel,
DefaultSmppServer server) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeChannelAndCancelTimer() |
protected SmppSessionConfiguration |
createSessionConfiguration(BaseBind bindRequest) |
void |
fireChannelClosed()
Fired when the Channel is closed (reached EOF or timed out)
|
void |
fireExceptionThrown(Throwable t)
Fired when an exception was raised by an I/O thread or an upstream handler.
|
void |
firePduReceived(Pdu pdu)
Fired when a PDU was successfully decoded and received on this Channel.
|
void |
sendResponsePdu(PduResponse pdu) |
public UnboundSmppSession(String channelName, org.jboss.netty.channel.Channel channel, DefaultSmppServer server)
public void firePduReceived(Pdu pdu)
SmppSessionChannelListenerfirePduReceived in interface SmppSessionChannelListenerpdu - The PDU decoded from the Channelpublic void closeChannelAndCancelTimer()
public void fireExceptionThrown(Throwable t)
SmppSessionChannelListenerfireExceptionThrown in interface SmppSessionChannelListenert - The exception thrownpublic void fireChannelClosed()
SmppSessionChannelListenerfireChannelClosed in interface SmppSessionChannelListenerprotected SmppSessionConfiguration createSessionConfiguration(BaseBind bindRequest)
public void sendResponsePdu(PduResponse pdu)
Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.