jadex.standalone.transport.niotcpmtp
Class NIOTCPTransport.Cleaner

java.lang.Object
  extended by jadex.standalone.transport.niotcpmtp.NIOTCPTransport.Cleaner
All Implemented Interfaces:
ITimedObject
Enclosing class:
NIOTCPTransport

protected class NIOTCPTransport.Cleaner
extends Object
implements ITimedObject

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

address

protected String address
The address of the connection.


timer

protected ITimer timer
The timer.

Constructor Detail

NIOTCPTransport.Cleaner

public NIOTCPTransport.Cleaner(String address)
Cleaner for a specified output connection.

Parameters:
address - The address.
Method Detail

timeEventOccurred

public void timeEventOccurred(long currenttime)
Called when timepoint was reached.

Specified by:
timeEventOccurred in interface ITimedObject

refresh

public void refresh()
Refresh the timeout.


remove

public void remove()
Remove this cleaner.



Copyright © 2010. All Rights Reserved.