|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.sip.TransactionTerminatedEvent
public class TransactionTerminatedEvent
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.
Constructor Summary | |
---|---|
TransactionTerminatedEvent(Object source,
ClientTransaction clientTransaction)
Constructs a TransactionTerminatedEvent to indicate a client retransmission or transaction timeout. |
|
TransactionTerminatedEvent(Object source,
ServerTransaction serverTransaction)
Constructs a TransactionTerminatedEvent to indicate a server retransmission or transaction timeout. |
Method Summary | |
---|---|
ClientTransaction |
getClientTransaction()
Gets the client transaction associated with this TransactionTerminatedEvent. |
ServerTransaction |
getServerTransaction()
Gets the server transaction associated with this TransactionTerminatedEvent. |
boolean |
isServerTransaction()
Indicates if the transaction associated with this TransactionTerminatedEvent is a server transaction. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransactionTerminatedEvent(Object source, ServerTransaction serverTransaction)
source
- - the source of TransactionTerminatedEvent (the SipProvider associated with the transaction).serverTransaction
- - the server transaction that timed out.public TransactionTerminatedEvent(Object source, ClientTransaction clientTransaction)
source
- - source of TransactionTerminatedEvent (the SipProvider associated with the transaction).clientTransaction
- - the client transaction that timed out.Method Detail |
---|
public ServerTransaction getServerTransaction()
public ClientTransaction getClientTransaction()
public boolean isServerTransaction()
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |