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

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

public final class CreateAndRouteCallLegErrEvent
extends java.util.EventObject

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

See Also:
Serialized Form

Constructor Summary
CreateAndRouteCallLegErrEvent(java.lang.Object source, org.csapi.jr.se.cc.mpccs.CallLeg interfaceRef, org.csapi.jr.se.cc.CallError errorIndication)
          Constructor for the CreateAndRouteCallLegErrEvent Event.
 
Method Summary
 org.csapi.jr.se.cc.mpccs.CallLeg getCallLeg()
          This method is used to retrieve the CallLeg, associated with this event.
 org.csapi.jr.se.cc.CallError getErrorIndication()
          This method is used to retrieve the parameter value of 'errorIndication' passed up from the Gateway in it's call to the createAndRouteCallLegErr() 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

CreateAndRouteCallLegErrEvent

public CreateAndRouteCallLegErrEvent(java.lang.Object source,
                                     org.csapi.jr.se.cc.mpccs.CallLeg interfaceRef,
                                     org.csapi.jr.se.cc.CallError errorIndication)
Constructor for the CreateAndRouteCallLegErrEvent Event.

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

getCallLeg

public org.csapi.jr.se.cc.mpccs.CallLeg getCallLeg()
This method is used to retrieve the CallLeg, associated with this event.

Returns:
The CallLeg associated with this event.

getErrorIndication

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

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