|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.resource.prelay.Proxy
public class Proxy
This is an implementation of the Packet Relay proxy.
| Field Summary | |
|---|---|
static org.mobicents.media.Format |
NOISE_FORMAT
|
| Constructor Summary | |
|---|---|
Proxy(java.lang.String name,
org.mobicents.media.server.spi.Endpoint endpoint)
Creates new instance of Packet Relay proxy. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConnectionID()
Gets the associated connection. |
org.mobicents.media.MediaSink |
getInput()
Gets an input of this proxy. |
org.mobicents.media.MediaSource |
getOutput()
Gets an output of this proxy. |
boolean |
isConnectedTo(org.mobicents.media.MediaSink sink)
Indicates if the specified media sink is connected to this proxy. |
boolean |
isConnectedTo(org.mobicents.media.MediaSource source)
Indicates if the specified media source is connected to this proxy. |
boolean |
isIsSinkConnected()
Indicates if a media sink is connected to this proxy. |
boolean |
isIsSourceConnected()
Indicates if a media source is connected to this proxy. |
void |
setConnectionID(java.lang.String connectionID)
Makes association between Connection and this proxy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.mobicents.media.Format NOISE_FORMAT
| Constructor Detail |
|---|
public Proxy(java.lang.String name,
org.mobicents.media.server.spi.Endpoint endpoint)
name - the name of this proxy.endpoint - the endpoint executed this proxy.| Method Detail |
|---|
public org.mobicents.media.MediaSink getInput()
public org.mobicents.media.MediaSource getOutput()
public java.lang.String getConnectionID()
public void setConnectionID(java.lang.String connectionID)
connectionID - the identifier of associated connection.public boolean isIsSinkConnected()
public boolean isIsSourceConnected()
public boolean isConnectedTo(org.mobicents.media.MediaSink sink)
public boolean isConnectedTo(org.mobicents.media.MediaSource source)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||