jlibrtp
Class RTPReceiverThread

java.lang.Object
  extended by java.lang.Thread
      extended by jlibrtp.RTPReceiverThread
All Implemented Interfaces:
java.lang.Runnable

public class RTPReceiverThread
extends java.lang.Thread

The RTP receiver thread waits on the designated UDP socket for new packets. Once one arrives, it is parsed and tested. We also check the ip-address of the sender. If accepted, the packet is added onto the packet buffer of the participant. A separate thread moves the packet from the packet buffer to the application.

Author:
Arne Kepp

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  RTPSession rtpSession
          Parent RTP Session
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RTPReceiverThread(RTPSession session)
           
 
Method Summary
 void run()
           
 
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

rtpSession

RTPSession rtpSession
Parent RTP Session

Constructor Detail

RTPReceiverThread

RTPReceiverThread(RTPSession session)
Method Detail

run

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