org.csapi.jr.se.cs
Class DirectCreditUnitErrEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.csapi.jr.se.cs.DirectCreditUnitErrEvent
All Implemented Interfaces:
java.io.Serializable

public final class DirectCreditUnitErrEvent
extends java.util.EventObject

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DirectCreditUnitErrEvent(java.lang.Object source, ChargingError error)
          Constructor for the DirectCreditUnitErrEvent Event.
 
Method Summary
 ChargingError getError()
          This method is used to retrieve the parameter value of 'error' passed up from the Gateway in it's call to the directCreditUnitErr() method, used on the creation of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectCreditUnitErrEvent

public DirectCreditUnitErrEvent(java.lang.Object source,
                                ChargingError error)
Constructor for the DirectCreditUnitErrEvent Event.

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

getError

public ChargingError getError()
This method is used to retrieve the parameter value of 'error' passed up from the Gateway in it's call to the directCreditUnitErr() method, used on the creation of this event.

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