|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--javax.sip.TimeoutEvent
This class represents an Timeout event that is passed from a SipProvider to its SipListener. A specific message may need retransmitted on a specific transaction numerous times before it is acknowledged by the receiver. If the message is not acknowledged after a specified period in the underlying implementation the transaction will expire, this occurs usually after seven retransmissions. The mechanism to alert an application that a message for a an underlying transaction needs retransmitted (i.e. 200OK) or an underlying transaction has expired is a Timeout Event.
A Timeout Event can be of two different types, namely:
A TimeoutEvent contains the following information:Timeout occurred.
Timeout,
Serialized Form| Field Summary |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
TimeoutEvent(java.lang.Object source,
ClientTransaction clientTransaction,
Timeout timeout)
Constructs a TimeoutEvent to indicate a client retransmission or transaction timeout. |
|
TimeoutEvent(java.lang.Object source,
ServerTransaction serverTransaction,
Timeout timeout)
Constructs a TimeoutEvent to indicate a server retransmission or transaction timeout. |
|
| Method Summary | |
ClientTransaction |
getClientTransaction()
Gets the client transaction associated with this TimeoutEvent. |
ServerTransaction |
getServerTransaction()
Gets the server transaction associated with this TimeoutEvent. |
Timeout |
getTimeout()
Gets the event type of this TimeoutEvent. |
boolean |
isServerTransaction()
Indicates if the transaction associated with this TimeoutEvent 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 TimeoutEvent(java.lang.Object source,
ServerTransaction serverTransaction,
Timeout timeout)
source - - the source of TimeoutEvent.serverTransaction - - the server transaction that timed out.timeout - - indicates if this is a retranmission or transaction
timeout event.
public TimeoutEvent(java.lang.Object source,
ClientTransaction clientTransaction,
Timeout timeout)
source - - source of TimeoutEvent.clientTransaction - - the client transaction that timed out.timeout - - indicates if this is a retranmission or transaction
timeout event.| Method Detail |
public ServerTransaction getServerTransaction()
public ClientTransaction getClientTransaction()
public boolean isServerTransaction()
public Timeout getTimeout()
|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||