org.mobicents.mscontrol
Interface MsSessionEvent

All Superinterfaces:
java.io.Serializable

public interface MsSessionEvent
extends java.io.Serializable

This is the interface for all MsSession-related events.

Author:
Oleg Kulikov, amit.bhayani

Method Summary
 java.lang.Object getCauseObject()
          When the session fires Event for STATE, it passes the Connection or Link Object which caused this state change
 MsSessionEventCause getEventCause()
          Returns the cause of event.
 MsSessionEventID getEventID()
          Returns the MsSessionEventID of event.
 MsSession getSource()
          Returns the MsSession object associated with this event.
 

Method Detail

getSource

MsSession getSource()
Returns the MsSession object associated with this event.

Returns:
the MsSession object associated with this event.

getEventID

MsSessionEventID getEventID()
Returns the MsSessionEventID of event.

Returns:
the id of event

getEventCause

MsSessionEventCause getEventCause()
Returns the cause of event. Cause is Connection created or dropped or Link created or dropped

Returns:
instance of MsSessionEventCause

getCauseObject

java.lang.Object getCauseObject()
When the session fires Event for STATE, it passes the Connection or Link Object which caused this state change

Returns:
The MsConnection or MsLink object


Copyright © 2008. All Rights Reserved.