JAIN-SIP 2.0 API

javax.sip
Class DialogTimeoutEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.sip.DialogTimeoutEvent
All Implemented Interfaces:
Serializable

public class DialogTimeoutEvent
extends EventObject

DialogTimeoutEvent is delivered to the Listener when the dialog does not receive or send an ACK.

Since:
2.0
Version:
2.0
Author:
Oracle Inc., NIST
See Also:
Serialized Form

Nested Class Summary
static class DialogTimeoutEvent.Reason
           
 
Constructor Summary
DialogTimeoutEvent(Object source, Dialog dialog, DialogTimeoutEvent.Reason reason)
          Constructs a DialogTerminatedEvent to indicate a dialog timeout.
 
Method Summary
 Dialog getDialog()
          Gets the Dialog associated with the event.
 DialogTimeoutEvent.Reason getReason()
          The reason for the Dialog Timeout Event being delivered to the application.
 
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

DialogTimeoutEvent

public DialogTimeoutEvent(Object source,
                          Dialog dialog,
                          DialogTimeoutEvent.Reason reason)
Constructs a DialogTerminatedEvent to indicate a dialog timeout.

Parameters:
source - - the source of TimeoutEvent.
dialog - - the dialog that timed out.
Method Detail

getDialog

public Dialog getDialog()
Gets the Dialog associated with the event. This enables application developers to access the dialog associated to this event.

Returns:
the dialog associated with the response event or null if there is no dialog.

getReason

public DialogTimeoutEvent.Reason getReason()
The reason for the Dialog Timeout Event being delivered to the application.

Returns:
the reason for the timeout event.

JAIN-SIP 2.0 API


See conditions of use.
Submit a bug report or feature request.