Class ElectronicValueRWTransitionEvent

java.lang.Object
java.util.EventObject
jpos.events.JposEvent
jpos.events.TransitionEvent
de.gmxhome.conrad.jpos.jpos_base.JposTransitionEvent
de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.ElectronicValueRWTransitionEvent
All Implemented Interfaces:
Serializable

public class ElectronicValueRWTransitionEvent extends JposTransitionEvent
Transition event implementation for ElectronicValueRW devices.
See Also:
Serialized Form
  • Field Details

    • Balance

      protected final Long Balance
      Value for Balance property to be set before firing transition event with EventNumber TE_CONFIRM_REMAINDER_SUBTRACTION. If null (the default), Balance property will not be changed by this event.
    • AdditionalSecurityInformation

      protected final String AdditionalSecurityInformation
      Value for AdditionalSecurityInformation property to be set before firing transition event with EventNumber TE_CONFIRM_DEVICE_DATA, TE_CONFIRM_SEARCH_TABLE or TE_CONFIRM_AUTHORIZE. If null (the default), AdditionalSecurityInformation property will not be changed by this event.
  • Constructor Details

    • ElectronicValueRWTransitionEvent

      public ElectronicValueRWTransitionEvent(JposBase source, int eventNumber, int pData, String pString)
      Constructor. Parameters passed to base class unchanged.
      Parameters:
      source - Source, for services implemented with this framework, the (deviceclass.)DeviceClassService object.
      eventNumber - The ID number of the asynchronous I/O device process condition
      pData - Additional information about appropriate response which is dependent upon the specific process condition.
      pString - Information about the specific event that has occurred.
    • ElectronicValueRWTransitionEvent

      public ElectronicValueRWTransitionEvent(JposBase source, int eventNumber, int pData, String pString, long balance)
      Constructor. Parameters passed to base class unchanged.
      Parameters:
      source - Source, for services implemented with this framework, the (deviceclass.)DeviceClassService object.
      eventNumber - The ID number of the asynchronous I/O device process condition
      pData - Additional information about appropriate response which is dependent upon the specific process condition.
      pString - Information about the specific event that has occurred.
      balance - Information to be stored in property Balance.
    • ElectronicValueRWTransitionEvent

      public ElectronicValueRWTransitionEvent(JposBase source, int eventNumber, int pData, String pString, String additionalSecurityInformation)
      Constructor. Parameters passed to base class unchanged.
      Parameters:
      source - Source, for services implemented with this framework, the (deviceclass.)DeviceClassService object.
      eventNumber - The ID number of the asynchronous I/O device process condition
      pData - Additional information about appropriate response which is dependent upon the specific process condition.
      pString - Information about the specific event that has occurred.
      additionalSecurityInformation - Information to be stored in property AdditionalSecurityInformation.
  • Method Details

    • setTransitionProperties

      public void setTransitionProperties()
      Description copied from class: JposTransitionEvent
      Sets the Transition properties stored within the JposTransitionEvent into the JposCommonProperties object stored in Source. The corresponding properties must be defined within derived classes.
      Overrides:
      setTransitionProperties in class JposTransitionEvent