org.csapi.jr.se.cc.mpccs
Class CallLegEndedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.csapi.jr.se.cc.mpccs.CallLegEndedEvent
All Implemented Interfaces:
java.io.Serializable

public final class CallLegEndedEvent
extends java.util.EventObject

Event created by an activity object to indicate that a Gateway originated call to the callLegEnded() method on the callback interface has occured.

See Also:
Serialized Form

Constructor Summary
CallLegEndedEvent(java.lang.Object source, org.csapi.jr.se.cc.ReleaseCause cause)
          Constructor for the CallLegEndedEvent Event.
 
Method Summary
 org.csapi.jr.se.cc.ReleaseCause getCause()
          This method is used to retrieve the parameter value of 'cause' passed up from the Gateway in it's call to the callLegEnded() method, used on the creation of this 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

CallLegEndedEvent

public CallLegEndedEvent(java.lang.Object source,
                         org.csapi.jr.se.cc.ReleaseCause cause)
Constructor for the CallLegEndedEvent Event.

Parameters:
source - Reference to the object firing the event.
Method Detail

getCause

public org.csapi.jr.se.cc.ReleaseCause getCause()
This method is used to retrieve the parameter value of 'cause' passed up from the Gateway in it's call to the callLegEnded() method, used on the creation of this event.

Returns:
The value of 'cause' used on creation of this event.