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
Transition event implementation for ElectronicValueRW devices.
- See Also:
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
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.protected Long
Value for Balance property to be set before firing transition event with EventNumber TE_CONFIRM_REMAINDER_SUBTRACTION.Fields inherited from class jpos.events.TransitionEvent
data, eventNumber, string
Fields inherited from class jpos.events.JposEvent
sequenceNumber
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionElectronicValueRWTransitionEvent(JposBase source, int eventNumber, int pData, String pString)
Constructor.ElectronicValueRWTransitionEvent(JposBase source, int eventNumber, int pData, String pString, long balance)
Constructor.ElectronicValueRWTransitionEvent(JposBase source, int eventNumber, int pData, String pString, String additionalSecurityInformation)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets the Transition properties stored within the JposTransitionEvent into the JposCommonProperties object stored in Source.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposTransitionEvent
getPropertySet, setData, setString, toLogString
Methods inherited from class jpos.events.TransitionEvent
getData, getEventNumber, getString
Methods inherited from class jpos.events.JposEvent
getSequenceNumber, getWhen, incrSequenceNumber, updateSequenceNumber
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
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
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 conditionpData
- 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 conditionpData
- 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 conditionpData
- 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 classJposTransitionEvent
-