org.jsmpp.session
Interface SessionStateListener

All Known Implementing Classes:
AutoReconnectGateway.SessionStateListenerImpl, SMPPServerSession.BoundStateListener, SMPPSession.BoundSessionStateListener, StressServer.SessionStateListenerImpl, SubmitMultipartMultilangualExample.SessionStateListenerImpl

public interface SessionStateListener

This listener contains an event related to the session state.

Since:
2.0
Version:
1.0
Author:
uudashr

Method Summary
 void onStateChange(SessionState newState, SessionState oldState, Session source)
          Raised when the session state changed.
 

Method Detail

onStateChange

void onStateChange(SessionState newState,
                   SessionState oldState,
                   Session source)
Raised when the session state changed.

Parameters:
newState - is the new state.
oldState - is the old state.
source - is source of changed state.