org.mobicents.media.server
Class RtspRtpConnectionImpl
java.lang.Object
org.mobicents.media.server.RtspRtpConnectionImpl
- All Implemented Interfaces:
- java.io.Serializable, org.mobicents.media.server.spi.Connection
public class RtspRtpConnectionImpl
- extends java.lang.Object
- implements org.mobicents.media.server.spi.Connection
- See Also:
- Serialized Form
| Fields inherited from interface org.mobicents.media.server.spi.Connection |
CHANNEL_RX, CHANNEL_TX |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RtspRtpConnectionImpl
public RtspRtpConnectionImpl(RtspEndpointImpl endpoint,
org.mobicents.media.server.spi.ConnectionMode mode)
throws org.mobicents.media.server.spi.ResourceUnavailableException
- Throws:
org.mobicents.media.server.spi.ResourceUnavailableException
getLocalDescriptor
public java.lang.String getLocalDescriptor()
- Specified by:
getLocalDescriptor in interface org.mobicents.media.server.spi.Connection
getPacketsReceived
public long getPacketsReceived(java.lang.String media)
- Specified by:
getPacketsReceived in interface org.mobicents.media.server.spi.Connection
getPacketsTransmitted
public long getPacketsTransmitted(java.lang.String media)
- Specified by:
getPacketsTransmitted in interface org.mobicents.media.server.spi.Connection
getRemoteDescriptor
public java.lang.String getRemoteDescriptor()
- Specified by:
getRemoteDescriptor in interface org.mobicents.media.server.spi.Connection
txStart
public void txStart(java.lang.String media)
- Specified by:
txStart in interface org.mobicents.media.server.spi.Connection
rxStart
public void rxStart(java.lang.String media)
- Specified by:
rxStart in interface org.mobicents.media.server.spi.Connection
txStop
public void txStop(java.lang.String media)
- Specified by:
txStop in interface org.mobicents.media.server.spi.Connection
rxStop
public void rxStop(java.lang.String media)
- Specified by:
rxStop in interface org.mobicents.media.server.spi.Connection
setOtherParty
public void setOtherParty(org.mobicents.media.server.spi.Connection other)
throws java.io.IOException
- Specified by:
setOtherParty in interface org.mobicents.media.server.spi.Connection
- Throws:
java.io.IOException
setRemoteDescriptor
public void setRemoteDescriptor(java.lang.String descriptor)
throws javax.sdp.SdpException,
java.io.IOException,
org.mobicents.media.server.spi.ResourceUnavailableException
- Specified by:
setRemoteDescriptor in interface org.mobicents.media.server.spi.Connection
- Throws:
javax.sdp.SdpException
java.io.IOException
org.mobicents.media.server.spi.ResourceUnavailableException
close
public void close()
error
public void error(java.lang.Exception e)
getId
public java.lang.String getId()
- Specified by:
getId in interface org.mobicents.media.server.spi.Connection
getState
public org.mobicents.media.server.spi.ConnectionState getState()
- Specified by:
getState in interface org.mobicents.media.server.spi.Connection
getLifeTime
public int getLifeTime()
- Specified by:
getLifeTime in interface org.mobicents.media.server.spi.Connection
setLifeTime
public void setLifeTime(int lifeTime)
- Specified by:
setLifeTime in interface org.mobicents.media.server.spi.Connection
getMode
public org.mobicents.media.server.spi.ConnectionMode getMode()
- Specified by:
getMode in interface org.mobicents.media.server.spi.Connection
setMode
public void setMode(org.mobicents.media.server.spi.ConnectionMode mode)
- Specified by:
setMode in interface org.mobicents.media.server.spi.Connection
getEndpoint
public org.mobicents.media.server.spi.Endpoint getEndpoint()
- Specified by:
getEndpoint in interface org.mobicents.media.server.spi.Connection
addListener
public void addListener(org.mobicents.media.server.spi.ConnectionListener listener)
- Specified by:
addListener in interface org.mobicents.media.server.spi.Connection
addNotificationListener
public void addNotificationListener(org.mobicents.media.server.spi.NotificationListener listener)
- Specified by:
addNotificationListener in interface org.mobicents.media.server.spi.Connection
removeListener
public void removeListener(org.mobicents.media.server.spi.ConnectionListener listener)
- Specified by:
removeListener in interface org.mobicents.media.server.spi.Connection
removeNotificationListener
public void removeNotificationListener(org.mobicents.media.server.spi.NotificationListener listener)
- Specified by:
removeNotificationListener in interface org.mobicents.media.server.spi.Connection
getComponent
public org.mobicents.media.Component getComponent(java.lang.String name,
int chanID)
- Specified by:
getComponent in interface org.mobicents.media.server.spi.Connection
setOtherParty
public void setOtherParty(java.lang.String media,
java.net.InetSocketAddress address)
throws java.io.IOException
- Specified by:
setOtherParty in interface org.mobicents.media.server.spi.Connection
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.