javax.sip
Class DialogTimeoutEvent
java.lang.Object
java.util.EventObject
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
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.
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.
See conditions of use.
Submit a bug report or feature request.