org.lastbamboo.common.sip.client
Class DefaultCrlfDelayCalculator
java.lang.Object
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.
|
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 |
DefaultCrlfDelayCalculator
public DefaultCrlfDelayCalculator()
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.