org.zoolu.sip.transaction
Class InviteTransactionClient
java.lang.Object
|
+--org.zoolu.sip.transaction.Transaction
|
+--org.zoolu.sip.transaction.TransactionClient
|
+--org.zoolu.sip.transaction.InviteTransactionClient
- All Implemented Interfaces:
- SipProviderListener, TimerListener
- public class InviteTransactionClient
- extends TransactionClient
INVITE client transaction as defined in RFC 3261 (Section 17.2.1).
An InviteTransactionClient is responsable to create a new SIP invite
transaction, starting with a invite message sent through the SipProvider
and ending with a final response.
The changes of the internal status and the received messages are fired
to the TransactionListener passed to the InviteTransactionClient object.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InviteTransactionClient
public InviteTransactionClient(SipProvider sip_provider,
Message req,
TransactionClientListener listener)
- Creates a new ClientTransaction
request
public void request()
- Starts the InviteTransactionClient and sends the invite request.
- Overrides:
request in class TransactionClient
onReceivedMessage
public void onReceivedMessage(SipProvider provider,
Message msg)
- Method derived from interface SipListener.
It's fired from the SipProvider when a new message is catch for to the present ServerTransaction.
- Overrides:
onReceivedMessage in class TransactionClient
onTimeout
public void onTimeout(Timer to)
- Method derived from interface TimerListener.
It's fired from an active Timer.
- Overrides:
onTimeout in class TransactionClient
terminate
public void terminate()
- Terminates the transaction.
- Overrides:
terminate in class TransactionClient