org.mobicents.mscontrol
Interface MsLinkEvent

All Superinterfaces:
java.io.Serializable

public interface MsLinkEvent
extends java.io.Serializable

Instance of MsLinkEvent is fired when ever state of MsLink is changed

Author:
Oleg Kulikov

Method Summary
 MsLinkEventCause getCause()
          Returns the cause for MsLinkEventID to be fired
 MsLinkEventID getEventID()
          Returns the MsLinkEventID that represents the state of MsLink
 java.lang.String getMessage()
          Returns the message associated with event
 MsLink getSource()
          Returns the instance of MsLink who is firing this event
 

Method Detail

getSource

MsLink getSource()
Returns the instance of MsLink who is firing this event

Returns:
instance of MsLink

getEventID

MsLinkEventID getEventID()
Returns the MsLinkEventID that represents the state of MsLink

Returns:
instance of MsLinkEventID

getCause

MsLinkEventCause getCause()
Returns the cause for MsLinkEventID to be fired

Returns:
instance of MsLinkEventCause

getMessage

java.lang.String getMessage()
Returns the message associated with event

Returns:
String message if any


Copyright © 2009. All Rights Reserved.