ie.ncl.sms.smpp
Class LinkTimers
java.lang.Object
ie.ncl.sms.smpp.LinkTimers
public class LinkTimers
- extends java.lang.Object
Constructor Summary |
LinkTimers(long requestInterval,
long responseTimeout,
boolean linkAliveIfAnyDataReceived)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkTimers
public LinkTimers(long requestInterval,
long responseTimeout,
boolean linkAliveIfAnyDataReceived)
reset
public void reset()
recordRequest
public void recordRequest()
recordResponse
public void recordResponse()
recordDataReceived
public void recordDataReceived()
timeNextRequestDue
public long timeNextRequestDue()
timeNextResponseDue
public long timeNextResponseDue()
timeNextRequestOrResponseDue
public long timeNextRequestOrResponseDue()
getTimeElapsedSinceDataReceived
public long getTimeElapsedSinceDataReceived()
getTimeSinceLastRequest
public long getTimeSinceLastRequest()
hasARequestBeenSent
public boolean hasARequestBeenSent()
hasAResponseBeenReceived
public boolean hasAResponseBeenReceived()
isTheLinkAlive
public boolean isTheLinkAlive()
hasTimedOut
public boolean hasTimedOut()