public class TransactionTerminatedEvent extends EventObject
source| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getSource, toStringpublic 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.public ServerTransaction getServerTransaction()
public ClientTransaction getClientTransaction()
public boolean isServerTransaction()
Copyright © 2018. All Rights Reserved.