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
Data event implementation for PointCardRW devices.
- See Also:
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionInteger[]
Array containing the length in bytes of the 6 tracks to be stored in RecvLength1 and RecvLength2.Integer[]
Array containing the state values of the 6 tracks to be stored in ReadState1 and ReadState2.String[]
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
ConstructorsConstructorDescriptionPointCardRWDataEvent(JposBase source, String[] tracks, Integer[]... statelength)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
Tracks
Array containing 6 Strings with track data. Empty strings if a track has not been read. -
State
Array containing the state values of the 6 tracks to be stored in ReadState1 and ReadState2. -
Length
Array containing the length in bytes of the 6 tracks to be stored in RecvLength1 and RecvLength2.
-
-
Constructor Details
-
PointCardRWDataEvent
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 classJposDataEvent
-