-
- All Implemented Interfaces:
-
java.lang.Runnable
public class ReceiverThread extends Thread
-
-
Field Summary
Fields Modifier and Type Field Description public volatile DatagramSocketmSocketpublic volatile booleanpaused
-
Constructor Summary
Constructors Constructor Description ReceiverThread(SIPProvider provider, MediaDataPlayer player, MediaDataRecv recv, DatagramSocket soc)
-
Method Summary
Modifier and Type Method Description voidpauseReceiving()voidresumeReceiving(DatagramSocket soc)voidrun()voidcloseReceiver()-
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, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, start, stop, suspend, toString, yield -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ReceiverThread
ReceiverThread(SIPProvider provider, MediaDataPlayer player, MediaDataRecv recv, DatagramSocket soc)
-
-
Method Detail
-
pauseReceiving
void pauseReceiving()
-
resumeReceiving
void resumeReceiving(DatagramSocket soc)
-
run
void run()
-
closeReceiver
void closeReceiver()
-
-
-
-