|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elite.jdcbot.framework.DCIO org.elite.jdcbot.framework.InputThread org.elite.jdcbot.framework.TimeoutInputThread
public class TimeoutInputThread
Created on 27-May-08
Nested Class Summary | |
---|---|
private class |
TimeoutInputThread.Timer
|
Field Summary | |
---|---|
private long |
timeout
|
private TimeoutInputThread.Timer |
timer
|
Constructor Summary | |
---|---|
TimeoutInputThread(InputThreadTarget inputThreadTrgt,
java.io.InputStream in)
Constructs thread that will read raw commands from hub |
Method Summary | |
---|---|
protected void |
onReadingCommand()
|
private void |
onTimeout()
|
void |
start()
Starts the InputThread thread. |
Methods inherited from class org.elite.jdcbot.framework.InputThread |
---|
run, stop |
Methods inherited from class org.elite.jdcbot.framework.DCIO |
---|
parseCmdArgs, parseCmdName, parseRawCmd, ReadCommand, ReadCommand, SendCommand, SendCommand, set_IOExceptionMsg |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private long timeout
private TimeoutInputThread.Timer timer
Constructor Detail |
---|
public TimeoutInputThread(InputThreadTarget inputThreadTrgt, java.io.InputStream in)
inputThreadTrgt
- InputThreadTarget instancein
- InputStream class from which we will read.Method Detail |
---|
protected void onReadingCommand()
onReadingCommand
in class InputThread
public void start()
InputThread
start
in class InputThread
private void onTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |