org.lastbamboo.common.sip.client
Class DefaultCrlfDelayCalculator

java.lang.Object
  extended by org.lastbamboo.common.sip.client.DefaultCrlfDelayCalculator
All Implemented Interfaces:
CrlfDelayCalculator

public class DefaultCrlfDelayCalculator
extends Object
implements CrlfDelayCalculator

Default implementation for calculating the delay between CRLF keep-alive messages to the server.


Constructor Summary
DefaultCrlfDelayCalculator()
           
 
Method Summary
 int calculateDelay()
          Calculates the delay before the next CRLF keep-alive message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCrlfDelayCalculator

public DefaultCrlfDelayCalculator()
Method Detail

calculateDelay

public int calculateDelay()
Description copied from interface: CrlfDelayCalculator
Calculates the delay before the next CRLF keep-alive message.

Specified by:
calculateDelay in interface CrlfDelayCalculator
Returns:
The next delay in milliseconds.


Copyright © 2013 LittleShoot. All Rights Reserved.