jadex.standalone.transport.tcpmtp
Class TCPDeadConnection

java.lang.Object
  extended by jadex.standalone.transport.tcpmtp.TCPDeadConnection

public class TCPDeadConnection
extends Object

Dead connection identifier.


Field Summary
static long DEADSPAN
          The time span for which this connection is dead.
protected  long deadtime
          The dead connection start time.
 
Constructor Summary
TCPDeadConnection()
          Create a new dead connection.
 
Method Summary
 boolean shouldRetry()
          Test if it should be retried to reestablish the connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEADSPAN

public static long DEADSPAN
The time span for which this connection is dead.


deadtime

protected long deadtime
The dead connection start time.

Constructor Detail

TCPDeadConnection

public TCPDeadConnection()
Create a new dead connection.

Method Detail

shouldRetry

public boolean shouldRetry()
Test if it should be retried to reestablish the connection.

Returns:
True, if should retry.


Copyright © 2010. All Rights Reserved.