|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.BaseComponent
org.mobicents.media.server.impl.resource.Proxy
public class Proxy
Implements media proxy component. This component can be used to join media source and media.
| Field Summary |
|---|
| Fields inherited from class org.mobicents.media.server.impl.BaseComponent |
|---|
format |
| Constructor Summary | |
|---|---|
Proxy(java.lang.String name)
Creates new instance of the proxy. |
|
| Method Summary | |
|---|---|
void |
connect(org.mobicents.media.MediaSink sink)
(Non Java-doc). |
void |
connect(org.mobicents.media.MediaSource source)
(Non Java-doc). |
void |
disconnect(org.mobicents.media.MediaSink sink)
(Non Java-doc). |
void |
disconnect(org.mobicents.media.MediaSource source)
(Non Java-doc). |
org.mobicents.media.Format[] |
getFormats()
Gets the list of currently supported formats. |
org.mobicents.media.MediaSink |
getInput()
(Non Java-doc). |
org.mobicents.media.MediaSource |
getOutput()
(Non Java-doc). |
void |
setFormat(org.mobicents.media.Format[] formats)
Chanhes the list of supportd formats. |
void |
start()
(Non Java-doc). |
void |
stop()
(Non Java-doc). |
| Methods inherited from class org.mobicents.media.server.impl.BaseComponent |
|---|
addListener, getConnection, getEndpoint, getFormat, getId, getInterface, getName, removeListener, resetStats, sendEvent, setConnection, setEndpoint, subset, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mobicents.media.Component |
|---|
addListener, getConnection, getEndpoint, getFormat, getId, getInterface, getName, removeListener, resetStats, setConnection, setEndpoint |
| Constructor Detail |
|---|
public Proxy(java.lang.String name)
name - the name of the component| Method Detail |
|---|
public org.mobicents.media.Format[] getFormats()
public void setFormat(org.mobicents.media.Format[] formats)
formats - the list of supported formats.public void start()
org.mobicents.media.Component#start()public void stop()
org.mobicents.media.Component#stop()public org.mobicents.media.MediaSink getInput()
getInput in interface org.mobicents.media.InletInlet.getInput().public org.mobicents.media.MediaSource getOutput()
getOutput in interface org.mobicents.media.Outletorg.mobicents.media.Inlet#getOutput().public void connect(org.mobicents.media.MediaSource source)
connect in interface org.mobicents.media.InletInlet.connect(org.mobicents.media.MediaSource)public void disconnect(org.mobicents.media.MediaSource source)
disconnect in interface org.mobicents.media.InletInlet.disconnect(org.mobicents.media.MediaSource)public void connect(org.mobicents.media.MediaSink sink)
connect in interface org.mobicents.media.Outletorg.mobicents.media.Inlet#connect(org.mobicents.media.MediaSink)public void disconnect(org.mobicents.media.MediaSink sink)
disconnect in interface org.mobicents.media.Outletorg.mobicents.media.Inlet#connect(org.mobicents.media.MediaSink)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||