cgl.narada.transport.rtp
Class RTCPMultiReceiver

java.lang.Object
  extended by java.lang.Thread
      extended by cgl.narada.transport.rtp.RTCPMultiReceiver
All Implemented Interfaces:
TransportDebugFlags, Runnable

public class RTCPMultiReceiver
extends Thread
implements TransportDebugFlags

This class is used to receive RTCP packages. It works with RTPMultiReceiver. It examines the ssrc number of each package and publish it to the appropriate topic according to the ssrc and topic number associations.

if there is no topic created for an ssrc, it discards that package. New topics are only created by RTPMultiReceiver class and accessed by this class.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
static int MAX_PACKET_SIZE
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface cgl.narada.transport.TransportDebugFlags
IPSecLink_Debug, IPSecLinkFactory_Debug, IPSecReceiverThread_Debug, IPSecSenderThread_Debug, IPSecServerThread_Debug, MulticastLink_Debug, MulticastLinkFactory_Debug, MulticastReceiverThread_Debug, MulticastSenderThread_Debug, NIOTCPLink_Debug, NIOTCPLinkFactory_Debug, NIOTCPReceiverThread_Debug, NIOTCPSenderThread_Debug, NIOTCPServerThread_Debug, PoolTCPLink_Debug, PoolTCPLinkFactory_Debug, PoolTCPLinkReceiver_Debug, PoolTCPLinkSender_Debug, PoolTCPServerThread_Debug, PTCPLink_Debug, PTCPLinkFactory_Debug, PTCPReceiverThread_Debug, PTCPSenderThread_Debug, PTCPServerThread_Debug, ReceiveTask_Debug, RTPLink_Debug, RTPLinkFactory_Debug, RTPReceiverThread_Debug, RTPSenderThread_Debug, SendTask_Debug, TCPLink_Debug, TCPLinkFactory_Debug, TCPReceiverThread_Debug, TCPSenderThread_Debug, TCPServerThread_Debug, TransmissionManager_Debug, TransportHandlerImpl_Debug, UDPLink_Debug, UDPLinkFactory_Debug, UDPReceiverThread_Debug, UDPSenderThread_Debug
 
Constructor Summary
RTCPMultiReceiver(String linkID, ArrayList topicList, DatagramSocket socket, TransportHandler transportHandler)
           
 
Method Summary
 void close()
           
 void run()
           
 void setNodeIdentifier(int nodeId)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_PACKET_SIZE

public static final int MAX_PACKET_SIZE
See Also:
Constant Field Values
Constructor Detail

RTCPMultiReceiver

public RTCPMultiReceiver(String linkID,
                         ArrayList topicList,
                         DatagramSocket socket,
                         TransportHandler transportHandler)
Method Detail

setNodeIdentifier

public void setNodeIdentifier(int nodeId)

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

close

public void close()


For comments and suggestions please send e-mail to The NaradaBrokering Project