|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--amber.client.ReceiveThread
Thread to deal with the reception of messages destined for one of the applets on the page. Sits on a socket, blocking until bytes are received. Transmission is handled on the same socket by the TransmitThread.
ApplicationHandler,
ComponentHandler,
BaseComponent| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ReceiveThread(java.net.Socket socket,
SocketConnection parent)
Construct the thread, with it's parent class so it may pass back messages. |
|
| Method Summary | |
void |
run()
Primary operating function for the thread. |
void |
terminate()
Terminate the thread execution. |
| 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 ReceiveThread(java.net.Socket socket,
SocketConnection parent)
throws java.io.IOException
socket - Socket connected to the remote server.parent - SocketConnection master for this thread.java.io.IOException - with any errors with the socket.| Method Detail |
public void terminate()
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 | |||||||||