org.lastbamboo.common.sip.stack.transaction.client
Interface SipTransactionTracker

All Known Implementing Classes:
SipTransactionTrackerImpl

public interface SipTransactionTracker

Interface for classes responsible for keeping track of SIP transactions.


Method Summary
 SipClientTransaction getClientTransaction(SipMessage message)
          Accessor for the client transcaction associated with the specified message.
 void trackTransaction(SipClientTransaction ct)
          Tells the tracker to start tracking the specified transaction.
 

Method Detail

trackTransaction

void trackTransaction(SipClientTransaction ct)
Tells the tracker to start tracking the specified transaction.

Parameters:
ct - The transaction to track.

getClientTransaction

SipClientTransaction getClientTransaction(SipMessage message)
Accessor for the client transcaction associated with the specified message.

Parameters:
message - The message containing a branch ID and SIP method to use as a key for looking up the associated tranction.
Returns:
The transaction associated with the specified message, or null if there is no associated transaction. This can happen if the transaction has timed out, for example.


Copyright © 2013 LittleShoot. All Rights Reserved.