|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.indy.IndyThread | +--org.indy.PeerThread
Description of the Class
Inner classes inherited from class org.indy.IndyThread |
IndyThread.Priority, IndyThread.StopMode |
Fields inherited from class org.indy.IndyThread |
stopRequested, threadImpl |
Constructor Summary | |
PeerThread()
Constructor for the IdPeerThread object |
Method Summary | |
protected void |
afterRun()
Description of the Method |
protected void |
beforeRun()
Description of the Method |
protected void |
cleanup()
DOCUMENT ME! |
TCPServerConnection |
getConnection()
Gets the connection attribute of the IdPeerThread object |
void |
run()
Main processing method for the IdPeerThread object |
void |
setConnection(TCPServerConnection connection)
Sets the connection attribute of the IdPeerThread object |
void |
terminate()
DOCUMENT ME! |
Methods inherited from class org.indy.IndyThread |
addThreadListener, afterExecute, beforeExecute, getPriority, getStopMode, getThreadImpl, isStopped, join, removeThreadListener, setPriority, setStopMode, start, stop, terminateAndWait |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PeerThread()
Method Detail |
public void setConnection(TCPServerConnection connection)
connection
- The new connection valuepublic TCPServerConnection getConnection()
protected void beforeRun() throws java.lang.InterruptedException
beforeRun
in class IndyThread
protected void afterRun() throws java.lang.InterruptedException
afterRun
in class IndyThread
protected void cleanup() throws java.lang.InterruptedException
cleanup
in class IndyThread
java.lang.InterruptedException
- DOCUMENT ME!public void terminate()
terminate
in class IndyThread
public void run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |