|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jlibrtp.AppCallerThread
public class AppCallerThread
The purpose of this thread is to check whether there are packets ready from any participants. It should sleep when not in use, and be woken up by a condition variable. Optionally, if we do jitter-control, the condition variable should have a max waiting period equal to how often we need to push data.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
(package private) RTPAppIntf |
appl
The applications interface, where the callback methods are called |
(package private) RTPSession |
rtpSession
The parent RTP Session |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
protected |
AppCallerThread(RTPSession session,
RTPAppIntf rtpApp)
Instatiates the AppCallerThread |
Method Summary | |
---|---|
void |
run()
The AppCallerThread will run in this loop until the RTPSession is terminated. |
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
RTPAppIntf appl
Constructor Detail |
---|
protected AppCallerThread(RTPSession session, RTPAppIntf rtpApp)
session
- the RTPSession with participants etcrtpApp
- the interface to which data is givenMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |