|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MsLink
A MsLink represents link between two
org.mobicents.media.server.spi.Endpoint
Application creates instance of MsLink by calling
MsSession.createLink(MsLinkMode) As soon MsLink is created
MsSession call's MsLink.fireMsLinkCreated() to fire the Event
MsLinkEventID.LINK_CREATED
MsLink maintains the reference to MsSession
object for life of MsLink
| Method Summary | |
|---|---|
void |
addLinkListener(MsLinkListener listener)
|
void |
addNotificationListener(MsNotificationListener listener)
|
MsEndpoint[] |
getEndpoints()
Returns back the Endpoints names that this link is trying to join |
java.lang.String |
getId()
Gets the Link ID |
MsSession |
getSession()
Gets the session to which this links belongs |
MsLinkState |
getState()
Returns the state of MsLink |
void |
join(java.lang.String a,
java.lang.String b)
Joins specified endpoints. |
void |
release()
Drops this link |
void |
removeLinkListener(MsLinkListener listener)
|
void |
removeNotificationListener(MsNotificationListener listener)
|
| Method Detail |
|---|
java.lang.String getId()
MsLinkMsLinkState getState()
MsLinkStateMsSession getSession()
void join(java.lang.String a,
java.lang.String b)
a - the name of the first endpoint.b - the name of the second endpoint.MsEndpoint[] getEndpoints()
void release()
void addLinkListener(MsLinkListener listener)
void removeLinkListener(MsLinkListener listener)
void addNotificationListener(MsNotificationListener listener)
void removeNotificationListener(MsNotificationListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||