|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
p2ps.imp.endpoint.TCP.TCPOutputHandler
The class responsible for sending data to a TCP socket
| Field Summary | |
static int |
MONITOR_SLEEP_TIME
|
static TCPOutputHandler |
OUTPUT_HANDLER
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
protected |
TCPOutputHandler()
|
| Method Summary | |
void |
addEndpoint(TCPEndpoint endpoint)
Adds a socket to the socket list |
void |
close()
Closes the socket handler and all associated sockets |
void |
removeEndpoint(TCPEndpoint endpoint)
Removes a socket from the socket list |
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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 |
| Field Detail |
public static int MONITOR_SLEEP_TIME
public static TCPOutputHandler OUTPUT_HANDLER
| Constructor Detail |
protected TCPOutputHandler()
| Method Detail |
public void addEndpoint(TCPEndpoint endpoint)
public void removeEndpoint(TCPEndpoint endpoint)
public void close()
public void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||