Class JposDirectIOWaitingEvent

java.lang.Object
java.util.EventObject
jpos.events.JposEvent
jpos.events.DirectIOEvent
de.gmxhome.conrad.jpos.jpos_base.JposDirectIOEvent
de.gmxhome.conrad.jpos.jpos_base.JposDirectIOWaitingEvent
All Implemented Interfaces:
Serializable

public class JposDirectIOWaitingEvent extends JposDirectIOEvent
Data event used for bidirectional data exchange between application and service. Contains synchronization object that allows the service to wait until the event callback method of the application has been finished. This is necessary whenever the callback may change data or obj.
See Also:
Serialized Form
  • Constructor Details

    • JposDirectIOWaitingEvent

      public JposDirectIOWaitingEvent(JposBase source, int eventNumber, int data, Object obj)
      Constructor. Parameters passed to base class unchanged.
      Parameters:
      source - Source, for services implemented with this framework, the (deviceclass.)DeviceClassService object.
      eventNumber - Event number, vendor specific
      data - Data, additional vendor specific data
      obj - Object, additional data container, vendor specific
  • Method Details

    • getWaiter

      public SyncObject getWaiter()
      Synchronization object, will be signalled after the event callback has been finished.
      Returns:
      The SyncObject used for synchronization.