javax.media.rtp
Class RTPManager

java.lang.Object
  extended by javax.media.rtp.RTPManager
All Implemented Interfaces:
Controls
Direct Known Subclasses:
RTPSessionMgr

public abstract class RTPManager
extends java.lang.Object
implements Controls

Standard JMF class -- see this class in the JMF Javadoc. Coding complete.

Author:
Ken Larson

Constructor Summary
RTPManager()
           
 
Method Summary
abstract  void addFormat(Format format, int payload)
           
abstract  void addReceiveStreamListener(ReceiveStreamListener listener)
           
abstract  void addRemoteListener(RemoteListener listener)
           
abstract  void addSendStreamListener(SendStreamListener listener)
           
abstract  void addSessionListener(SessionListener listener)
           
abstract  void addTarget(SessionAddress remoteAddress)
           
abstract  SendStream createSendStream(DataSource dataSource, int streamIndex)
           
abstract  void dispose()
           
abstract  java.util.Vector getActiveParticipants()
           
abstract  java.util.Vector getAllParticipants()
           
abstract  GlobalReceptionStats getGlobalReceptionStats()
           
abstract  GlobalTransmissionStats getGlobalTransmissionStats()
           
abstract  LocalParticipant getLocalParticipant()
           
abstract  java.util.Vector getPassiveParticipants()
           
abstract  java.util.Vector getReceiveStreams()
           
abstract  java.util.Vector getRemoteParticipants()
           
static java.util.Vector getRTPManagerList()
           
abstract  java.util.Vector getSendStreams()
           
abstract  void initialize(RTPConnector connector)
           
abstract  void initialize(SessionAddress localAddress)
           
abstract  void initialize(SessionAddress[] localAddresses, SourceDescription[] sourceDescription, double rtcpBandwidthFraction, double rtcpSenderBandwidthFraction, EncryptionInfo encryptionInfo)
           
static RTPManager newInstance()
           
abstract  void removeReceiveStreamListener(ReceiveStreamListener listener)
           
abstract  void removeRemoteListener(RemoteListener listener)
           
abstract  void removeSendStreamListener(SendStreamListener listener)
           
abstract  void removeSessionListener(SessionListener listener)
           
abstract  void removeTarget(SessionAddress remoteAddress, java.lang.String reason)
           
abstract  void removeTargets(java.lang.String reason)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.media.Controls
getControl, getControls
 

Constructor Detail

RTPManager

public RTPManager()
Method Detail

addFormat

public abstract void addFormat(Format format,
                               int payload)

addReceiveStreamListener

public abstract void addReceiveStreamListener(ReceiveStreamListener listener)

addRemoteListener

public abstract void addRemoteListener(RemoteListener listener)

addSendStreamListener

public abstract void addSendStreamListener(SendStreamListener listener)

addSessionListener

public abstract void addSessionListener(SessionListener listener)

removeTarget

public abstract void removeTarget(SessionAddress remoteAddress,
                                  java.lang.String reason)
                           throws InvalidSessionAddressException
Throws:
InvalidSessionAddressException

removeTargets

public abstract void removeTargets(java.lang.String reason)

createSendStream

public abstract SendStream createSendStream(DataSource dataSource,
                                            int streamIndex)
                                     throws UnsupportedFormatException,
                                            java.io.IOException
Throws:
UnsupportedFormatException
java.io.IOException

dispose

public abstract void dispose()

getActiveParticipants

public abstract java.util.Vector getActiveParticipants()

getAllParticipants

public abstract java.util.Vector getAllParticipants()

getGlobalReceptionStats

public abstract GlobalReceptionStats getGlobalReceptionStats()

getGlobalTransmissionStats

public abstract GlobalTransmissionStats getGlobalTransmissionStats()

getLocalParticipant

public abstract LocalParticipant getLocalParticipant()

getPassiveParticipants

public abstract java.util.Vector getPassiveParticipants()

getReceiveStreams

public abstract java.util.Vector getReceiveStreams()

getRemoteParticipants

public abstract java.util.Vector getRemoteParticipants()

getSendStreams

public abstract java.util.Vector getSendStreams()

initialize

public abstract void initialize(SessionAddress localAddress)
                         throws InvalidSessionAddressException,
                                java.io.IOException
Throws:
InvalidSessionAddressException
java.io.IOException

initialize

public abstract void initialize(SessionAddress[] localAddresses,
                                SourceDescription[] sourceDescription,
                                double rtcpBandwidthFraction,
                                double rtcpSenderBandwidthFraction,
                                EncryptionInfo encryptionInfo)
                         throws InvalidSessionAddressException,
                                java.io.IOException
Throws:
InvalidSessionAddressException
java.io.IOException

initialize

public abstract void initialize(RTPConnector connector)

addTarget

public abstract void addTarget(SessionAddress remoteAddress)
                        throws InvalidSessionAddressException,
                               java.io.IOException
Throws:
InvalidSessionAddressException
java.io.IOException

removeReceiveStreamListener

public abstract void removeReceiveStreamListener(ReceiveStreamListener listener)

removeRemoteListener

public abstract void removeRemoteListener(RemoteListener listener)

removeSendStreamListener

public abstract void removeSendStreamListener(SendStreamListener listener)

removeSessionListener

public abstract void removeSessionListener(SessionListener listener)

newInstance

public static RTPManager newInstance()

getRTPManagerList

public static java.util.Vector getRTPManagerList()