HTTPClient
Class SocketTimeout.TimeoutEntry
java.lang.Object
|
+--HTTPClient.SocketTimeout.TimeoutEntry
- Enclosing class:
- SocketTimeout
- class SocketTimeout.TimeoutEntry
- extends java.lang.Object
This class represents a timer entry. It is used to close an
inactive socket after n seconds. Once running, the timer may be
suspended (hyber()), restarted (reset()), or aborted (kill()).
When the timer expires it invokes markForClose() on the
associated stream demultipexer.
| Type | Method |
(package private) void |
hyber()
|
(package private) void |
kill()
|
(package private) void |
reset()
|
(package private) void |
setIdle(int idle)
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
restart
boolean restart
hyber
boolean hyber
alive
boolean alive
idle
int idle
- idle time for this demux
demux
StreamDemultiplexor demux
next
SocketTimeout.TimeoutEntry next
prev
SocketTimeout.TimeoutEntry prev
SocketTimeout.TimeoutEntry
SocketTimeout.TimeoutEntry(StreamDemultiplexor demux,
int idle)
setIdle
void setIdle(int idle)
reset
void reset()
hyber
void hyber()
kill
void kill()