org.jsmpp.session
Class SMPPSessionContext

java.lang.Object
  extended by org.jsmpp.session.AbstractSessionContext
      extended by org.jsmpp.session.SMPPSessionContext
All Implemented Interfaces:
ActivityNotifier, SessionContext

public class SMPPSessionContext
extends AbstractSessionContext

Author:
uudashr

Constructor Summary
SMPPSessionContext(SMPPSession smppSession, SessionStateListener sessionStateListener)
           
 
Method Summary
protected  void changeState(SessionState newState)
           
 SessionState getSessionState()
          Get current session state.
 SMPPSessionState getStateProcessor()
           
 
Methods inherited from class org.jsmpp.session.AbstractSessionContext
addSessionStateListener, bound, close, fireStateChanged, getLastActivityTimestamp, notifyActivity, open, removeSessionStateListener, unbound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMPPSessionContext

public SMPPSessionContext(SMPPSession smppSession,
                          SessionStateListener sessionStateListener)
Method Detail

getStateProcessor

public SMPPSessionState getStateProcessor()

getSessionState

public SessionState getSessionState()
Description copied from interface: SessionContext
Get current session state.

Returns:
the current session state.

changeState

protected void changeState(SessionState newState)
Specified by:
changeState in class AbstractSessionContext