Class PINPadDataEvent

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.pinpad.PINPadDataEvent
All Implemented Interfaces:
Serializable

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

    Fields
    Modifier and Type
    Field
    Description
    static int
    Deprecated.

    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
    PINPadDataEvent​(JposBase source, int state, String additionalSecurityInformation, String encryptedPIN)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the data properties stored within the JposDataEvent into the JposCommonProperties object.
    Generates string describing the data event for logging purposes.

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

    getPropertySet

    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

    • PPAD_TIMEOUT

      @Deprecated public static final int PPAD_TIMEOUT
      Deprecated.
      Since PINPadConst.PPAD_TIMEOUT was missing in previous JavaPOS versions, this property could be used instead. Deprecated: Use PPAD_TIMEOUT from PINPadConst instead.
      See Also:
      Constant Field Values
  • Constructor Details

    • PINPadDataEvent

      public PINPadDataEvent(JposBase source, int state, String additionalSecurityInformation, String encryptedPIN)
      Constructor. Parameters passed to base class unchanged.
      Parameters:
      source - Source, for services implemented with this framework, the (deviceclass.)DeviceClassService object.
      state - Status, see UPOS specification.
      additionalSecurityInformation - Additional security/encryption information.
      encryptedPIN - Value of the Encrypted PIN.
  • 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
    • toLogString

      public String toLogString()
      Description copied from class: JposDataEvent
      Generates string describing the data event for logging purposes.
      Overrides:
      toLogString in class JposDataEvent
      Returns:
      Describing string.