edu.utah.janosvm.kit.comm.jsi
Class JSIHandlerThread
java.lang.Object
|
+--edu.utah.janosvm.kit.comm.jsi.JSIHandlerThread
- public abstract class JSIHandlerThread
- extends java.lang.Object
- implements java.lang.Runnable
Runnable used to dispatch and reply to messages received over a given
JSIChannel.
Field Summary |
private JSIChannel |
jc
The JSIChannel that should be used for all communication. |
private JSIHandlerRoot |
jhr
The JSIHandlerRoot that should be the root for dispatching messages. |
Constructor Summary |
(package private) |
JSIHandlerThread(JSIChannel jc)
Construct a JSIHandlerThread that will process the messages received
from the given JSIChannel. |
(package private) |
JSIHandlerThread(JSIHandlerRoot jhr,
JSIChannel jc)
Construct a JSIHandlerThread that will process the messages received
from the given JSIChannel. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait,
wait0 |
jc
private final JSIChannel jc
- The JSIChannel that should be used for all communication.
jhr
private final JSIHandlerRoot jhr
- The JSIHandlerRoot that should be the root for dispatching messages.
JSIHandlerThread
JSIHandlerThread(JSIHandlerRoot jhr,
JSIChannel jc)
- Construct a JSIHandlerThread that will process the messages received
from the given JSIChannel.
- Parameters:
jhr
- The JSIHandlerRoot that should be the root for dispatching
messages.jc
- A connected JSIChannel.
JSIHandlerThread
JSIHandlerThread(JSIChannel jc)
- Construct a JSIHandlerThread that will process the messages received
from the given JSIChannel.
- Parameters:
jc
- A connected JSIChannel.
getHandlerRoot
JSIHandlerRoot getHandlerRoot()
- Returns:
- The JSIHandlerRoot that should be the root for dispatching
messages.
getChannel
JSIChannel getChannel()
- Returns:
- The JSIChannel that should be used for all communication.
shutdown
public abstract void shutdown()
- Call back method used when a SHUTDOWN message is received.
run
public void run()
- Specified by:
- run in interface java.lang.Runnable
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
This documentation is Copyright (C) 2000-2002 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Mar 17, 2002