| |
|
| java.lang.Object java.util.EventObject javax.sip.TransactionTerminatedEvent
TransactionTerminatedEvent | public class TransactionTerminatedEvent extends EventObject (Code) | | TransactionTerminatedEvent is delivered to the Listener when the
transaction transitions to the terminated state. An implementation
is expected to deliver this event to the listener when it discards
all internal book keeping records for a given transaction - thereby
allowing the Listener to unmap its own data structures.
author: BEA Systems, NIST since: v1.2 |
Constructor Summary | |
public | TransactionTerminatedEvent(Object source, ServerTransaction serverTransaction) Constructs a TransactionTerminatedEvent to indicate a server retransmission
or transaction timeout.
Parameters: source - - the source of TransactionTerminatedEvent (the SipProvider associated with the transaction). | public | TransactionTerminatedEvent(Object source, ClientTransaction clientTransaction) Constructs a TransactionTerminatedEvent to indicate a client
retransmission or transaction timeout. |
TransactionTerminatedEvent | public TransactionTerminatedEvent(Object source, ServerTransaction serverTransaction)(Code) | | Constructs a TransactionTerminatedEvent to indicate a server retransmission
or transaction timeout.
Parameters: source - - the source of TransactionTerminatedEvent (the SipProvider associated with the transaction). Parameters: serverTransaction - - the server transaction that timed out. |
TransactionTerminatedEvent | public TransactionTerminatedEvent(Object source, ClientTransaction clientTransaction)(Code) | | Constructs a TransactionTerminatedEvent to indicate a client
retransmission or transaction timeout.
Parameters: source - - source of TransactionTerminatedEvent (the SipProvider associated with the transaction). Parameters: clientTransaction - - the client transaction that timed out. |
getClientTransaction | public ClientTransaction getClientTransaction()(Code) | | Gets the client transaction associated with this TransactionTerminatedEvent.
client transaction associated with this TransactionTerminatedEvent, or null if this event is specific to a server transaction. |
getServerTransaction | public ServerTransaction getServerTransaction()(Code) | | Gets the server transaction associated with this TransactionTerminatedEvent.
server transaction associated with this TransactionTerminatedEvent, or null if this event is specific to a client transaction. |
isServerTransaction | public boolean isServerTransaction()(Code) | | Indicates if the transaction associated with this
TransactionTerminatedEvent is a server transaction.
returns true if a server transaction or false if a client transaction. |
|
|
|