org.mobicents.mscontrol
Interface MsLinkListener

All Superinterfaces:
java.io.Serializable

public interface MsLinkListener
extends java.io.Serializable

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

Author:
Oleg Kulikov, amit.bhayani

Method Summary
 void linkCreated(MsLinkEvent evt)
          This method is called when MsLinkEventID.LINK_CREATED is fired.
 void linkDropped(MsLinkEvent evt)
          This method is called when MsLinkEventID.LINK_DROPPED is fired.
 void linkFailed(MsLinkEvent evt)
          This method is called when MsLinkEventID.LINK_FAILED is fired.
 void linkJoined(MsLinkEvent evt)
          This method is called when MsLinkEventID.LINK_JOINED is fired.
 

Method Detail

linkCreated

void linkCreated(MsLinkEvent evt)
This method is called when MsLinkEventID.LINK_CREATED is fired. MsLink is created by calling MsSession.createLink(MsLinkMode mode)

Parameters:
evt -

linkJoined

void linkJoined(MsLinkEvent evt)
This method is called when MsLinkEventID.LINK_JOINED is fired. Fired when MsLink.join(String a, String b) is called and joining of two Endpoint is successful

Parameters:
evt -

linkDropped

void linkDropped(MsLinkEvent evt)
This method is called when MsLinkEventID.LINK_DROPPED is fired. Fired when MsLink.release() is called

Parameters:
evt -

linkFailed

void linkFailed(MsLinkEvent evt)
This method is called when MsLinkEventID.LINK_FAILED is fired. Fired when MsLink.join(String a, String b) is called and joining of two Endpoint fails

Parameters:
evt -


Copyright © 2008. All Rights Reserved.