protected class SelectorThread.Cleaner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.net.InetSocketAddress |
address
The address of the connection.
|
protected java.lang.Object |
con
The connection associated to the address.
|
protected long |
delay
The delay time before the cleaner gets active.
|
protected java.util.TimerTask |
timertask
The timer task.
|
Constructor and Description |
---|
Cleaner(java.net.InetSocketAddress address,
long delay)
Cleaner for a specified output connection.
|
Modifier and Type | Method and Description |
---|---|
void |
refresh()
Refresh the timeout.
|
void |
remove()
Remove this cleaner.
|
protected java.net.InetSocketAddress address
protected java.util.TimerTask timertask
protected long delay
protected java.lang.Object con