|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--local.media.UdpStreamReceiver
UdpStreamReceiver is a generic stream receiver. It receives packets from UDP and writes them into an OutputStream.
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
UdpStreamReceiver(java.io.OutputStream output_stream,
int local_port)
Constructs a UdpStreamReceiver. |
|
UdpStreamReceiver(java.io.OutputStream output_stream,
org.zoolu.net.UdpSocket socket)
Constructs a UdpStreamReceiver. |
|
| Method Summary | |
void |
halt()
Stops running |
boolean |
isRunning()
Whether is running |
void |
run()
Runs it in a new Thread. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
| Constructor Detail |
public UdpStreamReceiver(java.io.OutputStream output_stream,
int local_port)
output_stream - the stream sinklocal_port - the local receiver port
public UdpStreamReceiver(java.io.OutputStream output_stream,
org.zoolu.net.UdpSocket socket)
output_stream - the stream sinksocket - the local receiver UdpSocket| Method Detail |
public boolean isRunning()
public void halt()
public void run()
run in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||