|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.standalone.transport.niotcpmtp.NIOTCPTransport.Cleaner
protected class NIOTCPTransport.Cleaner
Class for cleaning output connections after max keep alive time has been reached.
| Field Summary | |
|---|---|
protected String |
address
The address of the connection. |
protected ITimer |
timer
The timer. |
| Constructor Summary | |
|---|---|
NIOTCPTransport.Cleaner(String address)
Cleaner for a specified output connection. |
|
| Method Summary | |
|---|---|
void |
refresh()
Refresh the timeout. |
void |
remove()
Remove this cleaner. |
void |
timeEventOccurred(long currenttime)
Called when timepoint was reached. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String address
protected ITimer timer
| Constructor Detail |
|---|
public NIOTCPTransport.Cleaner(String address)
address - The address.| Method Detail |
|---|
public void timeEventOccurred(long currenttime)
timeEventOccurred in interface ITimedObjectpublic void refresh()
public void remove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||