jadex.standalone.transport.tcpmtp
Class TCPTransport.Cleaner

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

protected class TCPTransport.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
TCPTransport.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

TCPTransport.Cleaner

public TCPTransport.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.