org.mobicents.mscontrol
Interface MsSessionListener

All Superinterfaces:
java.io.Serializable

public interface MsSessionListener
extends java.io.Serializable

The class interested in receiving the MsSessionEvent should implement this interface. When ever there is change in state of MsLink, instance of MsLinkEvent is fired.

Author:
Oleg Kulikov

Method Summary
 void sessionActive(MsSessionEvent evt)
          Indicates that the state of the MsSession object has changed to MsSession.ACTIVE.
 void sessionCreated(MsSessionEvent evt)
          Indicates that the state of the MsSession object has changed to MsSessionState.IDLE.
 void sessionInvalid(MsSessionEvent evt)
          Indicates that the state of the MsSession object has changed to MsSession.INVALID.
 

Method Detail

sessionCreated

void sessionCreated(MsSessionEvent evt)
Indicates that the state of the MsSession object has changed to MsSessionState.IDLE. This is when the MsSession is created param evt the MsSessionEvent with eventID MsSessionEventID.SESSION_IDLE.


sessionActive

void sessionActive(MsSessionEvent evt)
Indicates that the state of the MsSession object has changed to MsSession.ACTIVE. param evt the MsSessionEvent with eventID MsSessionEventID.SESSION_ACTIVE.


sessionInvalid

void sessionInvalid(MsSessionEvent evt)
Indicates that the state of the MsSession object has changed to MsSession.INVALID. param evt the MsSessionEvent with eventID MsSessionEventID.SESSION_INVALID.



Copyright © 2008. All Rights Reserved.