|
|||||||||
| 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 |
fireMsLinkCreated()
As soon as MsLink is created MsSession call's MsLink.fireMsLinkCreated() to fire the Event MsLinkEventID.LINK_CREATED |
java.lang.String[] |
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 |
org.mobicents.media.msc.common.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 |
| Method Detail |
|---|
java.lang.String getId()
org.mobicents.media.msc.common.MsLinkState getState()
MsSession 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.java.lang.String[] getEndpoints()
void release()
void fireMsLinkCreated()
MsLinkEventID.LINK_CREATED
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||