NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

javax.sip
Class DialogTerminatedEvent

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

public class DialogTerminatedEvent
extends EventObject

DialogTerminatedEvent is delivered to the Listener when the dialog 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 dialog, allowing the Listener to unmap its own data structures.

Since:
v1.2
Author:
BEA Systems, NIST
See Also:
Serialized Form

Constructor Summary
DialogTerminatedEvent(Object source, Dialog dialog)
          Constructs a DialogTerminatedEvent to indicate a dialog timeout.
 
Method Summary
 Dialog getDialog()
          Gets the Dialog associated with the event.
 
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

DialogTerminatedEvent

public DialogTerminatedEvent(Object source,
                             Dialog dialog)
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.
Since:
v1.2

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.