Class PointCardRWDataEvent

java.lang.Object
java.util.EventObject
jpos.events.JposEvent
jpos.events.DataEvent
de.gmxhome.conrad.jpos.jpos_base.JposDataEvent
de.gmxhome.conrad.jpos.jpos_base.pointcardrw.PointCardRWDataEvent
All Implemented Interfaces:
Serializable

public class PointCardRWDataEvent extends JposDataEvent
Data event implementation for PointCardRW devices.
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Array containing the length in bytes of the 6 tracks to be stored in RecvLength1 and RecvLength2.
    Array containing the state values of the 6 tracks to be stored in ReadState1 and ReadState2.
    Array containing 6 Strings with track data.

    Fields inherited from class jpos.events.DataEvent

    status

    Fields inherited from class jpos.events.JposEvent

    sequenceNumber

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    PointCardRWDataEvent​(JposBase source, String[] tracks, Integer[]... statelength)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the data properties stored within the JposDataEvent into the JposCommonProperties object.

    Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposDataEvent

    getPropertySet, toLogString

    Methods inherited from class jpos.events.DataEvent

    getStatus

    Methods inherited from class jpos.events.JposEvent

    getSequenceNumber, getWhen, incrSequenceNumber, updateSequenceNumber

    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
  • Field Details

    • Tracks

      public final String[] Tracks
      Array containing 6 Strings with track data. Empty strings if a track has not been read.
    • State

      public final Integer[] State
      Array containing the state values of the 6 tracks to be stored in ReadState1 and ReadState2.
    • Length

      public final Integer[] Length
      Array containing the length in bytes of the 6 tracks to be stored in RecvLength1 and RecvLength2.
  • Constructor Details

    • PointCardRWDataEvent

      public PointCardRWDataEvent(JposBase source, String[] tracks, Integer[]... statelength)
      Constructor.
      Parameters:
      source - Source, for services implemented with this framework, the (deviceclass.)DeviceClassService object.
      tracks - Array containing track data read for all possible 6 tracks.
      statelength - Arrays containing states of tracks read and optional lengths of tracks in bytes. If lengths are not specified, length will be computed from the string lengths stored in tracks.
  • Method Details

    • setDataProperties

      public void setDataProperties()
      Description copied from class: JposDataEvent
      Sets the data properties stored within the JposDataEvent into the JposCommonProperties object. The corresponding properties must be defined within derived classes.
      Overrides:
      setDataProperties in class JposDataEvent