MjSip Stack
v1.6

org.zoolu.sip.transaction
Class AckTransactionClient

java.lang.Object
  |
  +--org.zoolu.sip.transaction.Transaction
        |
        +--org.zoolu.sip.transaction.AckTransactionClient
All Implemented Interfaces:
SipProviderListener, TimerListener

public class AckTransactionClient
extends Transaction

ACK client transaction should follow an INVITE client transaction within an INVITE Dialog in a SIP UAC. The AckTransactionClient simply sends an ACK request message and terminates.


Fields inherited from class org.zoolu.sip.transaction.Transaction
transaction_counter
 
Constructor Summary
AckTransactionClient(SipProvider sip_provider, Message ack, TransactionClientListener listener)
          Creates a new AckTransactionClient.
 
Method Summary
protected  void printLog(java.lang.String str, int level)
          Adds a new string to the default Log
 void request()
          Starts the AckTransactionClient and sends the ACK request.
 void terminate()
          Method used to drop an active transaction.
 
Methods inherited from class org.zoolu.sip.transaction.Transaction
getConnectionId, getRequestMessage, getSipProvider, getTransactionId, getTransactionMethod, onReceivedMessage, onTimeout, printException, printWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AckTransactionClient

public AckTransactionClient(SipProvider sip_provider,
                            Message ack,
                            TransactionClientListener listener)
Creates a new AckTransactionClient.
Method Detail

request

public void request()
Starts the AckTransactionClient and sends the ACK request.

terminate

public void terminate()
Method used to drop an active transaction.
Overrides:
terminate in class Transaction

printLog

protected void printLog(java.lang.String str,
                        int level)
Adds a new string to the default Log
Overrides:
printLog in class Transaction

MjSip Stack
v1.6