|
JSIP API v1.2 November 2006 |
||||||||
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.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
TransactionTerminatedEvent(java.lang.Object source,
ClientTransaction clientTransaction)
Constructs a TransactionTerminatedEvent to indicate a client retransmission or transaction timeout. |
|
TransactionTerminatedEvent(java.lang.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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransactionTerminatedEvent(java.lang.Object source, ServerTransaction serverTransaction)
source
- - the source of TransactionTerminatedEvent (the SipProvider associated with the transaction).serverTransaction
- - the server transaction that timed out.public TransactionTerminatedEvent(java.lang.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()
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |