|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MsConnection
Represents the actual RTP connection. MsConnection is created by calling
MsSession.createNetworkConnection. As soon as MsConnection is
created MsSession call's
MsConnection.fireConnectionInitialized() to fire the Event
MsConnectionEventID.CONNECTION_INITIALIZED
Through out the lifetime of MsConnection, it maintains the
reference to MsSession
| Method Summary | |
|---|---|
void |
addConnectionListener(MsConnectionListener listener)
Adds connection listener. |
void |
fireConnectionInitialized()
As soon as Connection is created, MsSession calls this method to fire event MsConnectionEventID.CONNECTION_INITIALIZED |
java.lang.String |
getEndpoint()
Returns the concrete endpoint which executes this endpoint. |
java.lang.String |
getId()
Retrieves the MsConnection ID, basically a UUID |
java.lang.String |
getLocalDescriptor()
Gets the session descriptor of the local end. |
java.lang.String |
getRemoteDescriptor()
Gets the session descriptor of the remote end. |
MsSession |
getSession()
Retrieves the MsSession that is associated with this MsConnection. |
org.mobicents.media.msc.common.MsConnectionState |
getState()
Returns the state of MsConnection |
void |
modify(java.lang.String localDesc,
java.lang.String remoteDesc)
Creates or modify network connection on the media server side. |
void |
release()
Deletes related connection from media server. |
void |
removeConnectionListener(MsConnectionListener listener)
Removes connection listener. |
| Method Detail |
|---|
java.lang.String getId()
MsSession getSession()
org.mobicents.media.msc.common.MsConnectionState getState()
java.lang.String getLocalDescriptor()
java.lang.String getRemoteDescriptor()
java.lang.String getEndpoint()
void addConnectionListener(MsConnectionListener listener)
listener - the listener object.void removeConnectionListener(MsConnectionListener listener)
listener - the listener object was added previously.
void modify(java.lang.String localDesc,
java.lang.String remoteDesc)
remoteDesc - the session desriptor of the remote party.void release()
void fireConnectionInitialized()
MsConnectionEventID.CONNECTION_INITIALIZED
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||