org.mobicents.media.server.impl.resource.audio
Class EndpointTransmittor

java.lang.Object
  extended by org.mobicents.media.server.impl.BaseComponent
      extended by org.mobicents.media.server.impl.resource.audio.EndpointTransmittor
All Implemented Interfaces:
java.io.Serializable, org.mobicents.media.Component, org.mobicents.media.Inlet, org.mobicents.media.Outlet

public class EndpointTransmittor
extends BaseComponent
implements org.mobicents.media.Inlet, org.mobicents.media.Outlet

Author:
kulikov
See Also:
Serialized Form

Field Summary
static byte[] SILENCE_DATA
           
 
Constructor Summary
EndpointTransmittor(java.lang.String name, org.mobicents.media.server.spi.Timer timer)
           
 
Method Summary
 void connect(org.mobicents.media.MediaSink sink)
           
 void connect(org.mobicents.media.MediaSource source)
           
 void disconnect(org.mobicents.media.MediaSink sink)
           
 void disconnect(org.mobicents.media.MediaSource source)
           
 org.mobicents.media.MediaSink getInput()
           
 org.mobicents.media.MediaSource getOutput()
           
 void setConnection(org.mobicents.media.server.spi.Connection connection)
           
 void setEndpoint(org.mobicents.media.server.spi.Endpoint endpoint)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.mobicents.media.server.impl.BaseComponent
addListener, getConnection, getEndpoint, getId, getName, getResourceType, removeListener, resetStats, sendEvent, setResourceType, 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, getId, getName, removeListener, resetStats
 

Field Detail

SILENCE_DATA

public static final byte[] SILENCE_DATA
Constructor Detail

EndpointTransmittor

public EndpointTransmittor(java.lang.String name,
                           org.mobicents.media.server.spi.Timer timer)
Method Detail

getInput

public org.mobicents.media.MediaSink getInput()
Specified by:
getInput in interface org.mobicents.media.Inlet

start

public void start()
Specified by:
start in interface org.mobicents.media.Component

stop

public void stop()
Specified by:
stop in interface org.mobicents.media.Component

setEndpoint

public void setEndpoint(org.mobicents.media.server.spi.Endpoint endpoint)
Specified by:
setEndpoint in interface org.mobicents.media.Component
Overrides:
setEndpoint in class BaseComponent

setConnection

public void setConnection(org.mobicents.media.server.spi.Connection connection)
Specified by:
setConnection in interface org.mobicents.media.Component
Overrides:
setConnection in class BaseComponent

getOutput

public org.mobicents.media.MediaSource getOutput()
Specified by:
getOutput in interface org.mobicents.media.Outlet

connect

public void connect(org.mobicents.media.MediaSource source)
Specified by:
connect in interface org.mobicents.media.Inlet

disconnect

public void disconnect(org.mobicents.media.MediaSource source)
Specified by:
disconnect in interface org.mobicents.media.Inlet

connect

public void connect(org.mobicents.media.MediaSink sink)
Specified by:
connect in interface org.mobicents.media.Outlet

disconnect

public void disconnect(org.mobicents.media.MediaSink sink)
Specified by:
disconnect in interface org.mobicents.media.Outlet


Copyright © 2009. All Rights Reserved.