public class SocketTimeout extends SimpleTimer2.TimedEvent
_state, DEFAULT_FUZZ
コンストラクタ | 説明 |
---|---|
SocketTimeout(long delay) |
|
SocketTimeout(java.net.Socket socket,
long delay) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
boolean |
cancel() |
Change in return value from void to boolean in
0.9.3 accidentally broke Syndie, sorry.
|
void |
resetTimer() |
|
void |
setInactivityTimeout(long timeout) |
|
void |
setSocket(java.net.Socket s) |
|
void |
setTimeoutCommand(java.lang.Runnable job) |
|
void |
setTotalTimeoutPeriod(long timeoutPeriod) |
|
void |
timeReached() |
Simple interface for events to be queued up and notified on expiration
the time requested has been reached (this call should NOT block,
otherwise the whole SimpleTimer gets backed up)
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forceReschedule, reschedule, reschedule, run, schedule, setFuzz
public SocketTimeout(long delay)
public SocketTimeout(java.net.Socket socket, long delay)
public void timeReached()
SimpleTimer2.TimedEvent
timeReached
クラス内 SimpleTimer2.TimedEvent
public boolean cancel()
cancel
クラス内 SimpleTimer2.TimedEvent
public void setSocket(java.net.Socket s)
public void resetTimer()
public void setInactivityTimeout(long timeout)
public void setTotalTimeoutPeriod(long timeoutPeriod)
public void setTimeoutCommand(java.lang.Runnable job)
public java.lang.String toString()
toString
クラス内 java.lang.Object