org.lastbamboo.common.sip.client
Class CrlfKeepAliveSender

java.lang.Object
  extended by org.lastbamboo.common.sip.client.CrlfKeepAliveSender

public class CrlfKeepAliveSender
extends Object

Class that continually sends keep alive messages to the SIP proxy, as specified in:

http://www.ietf.org/internet-drafts/draft-ietf-sip-outbound-08.txt


Constructor Summary
CrlfKeepAliveSender(SipClient sipClient, CrlfDelayCalculator delayCalculator)
          Creates a new class that uses the CRLF keep alive technique specified in SIP outbound.
 
Method Summary
 void scheduleCrlf()
          Continually schedules CRLF pings to send to the server.
 void stop()
          Stops this class from continuing to send keep alive messages to the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrlfKeepAliveSender

public CrlfKeepAliveSender(SipClient sipClient,
                           CrlfDelayCalculator delayCalculator)
Creates a new class that uses the CRLF keep alive technique specified in SIP outbound.

Parameters:
sipClient - The SIP client.
delayCalculator - Class for calculating delays between CRLF messages.
Method Detail

stop

public void stop()
Stops this class from continuing to send keep alive messages to the server.


scheduleCrlf

public void scheduleCrlf()
Continually schedules CRLF pings to send to the server.



Copyright © 2013 LittleShoot. All Rights Reserved.