The JXFS Check Reader Device Service (JXFSChk) enables toolkit applications
to operate devices that can read, encode, endorse, or scan checks. These devices
can range from small hand-held read-only devices that read manually swiped
checks one at a time (simple devices) to much larger devices that automatically
batch feed checks past a reader, an encoder, an endorser, an optional image
scanner and sort the checks into one of several pockets (complex devices).
The JXFS Check Reader Device Service handles checks using the following
process:
- The JXFSChk Service initializes using values obtained from external definition
files.
- The service registers as a listener of JXFSOperationCompleteEvent, JXFSStatusEvent,
and JXFSIntermediateEvent.
- The service connects to the check reader by creating an instance of Device
Control using data retrieved from the context.
- The service performs a read operation of obtain the check data. This is
a synchronous call so the service waits until the call returns or it receives
an event for which it is a listener. The service can also process the check
by doing actions such as endorsing, stamping, and sorting the check if the
device supports these actions.
- The service uses the jxfsFormat to unformat the data in the response and
then places the unformatted data into the provided context.
- The service closes the connection to the check reader.
- The check reader returns to a standby status.
Note: The toolkit has a service that supports a non-J/XFS check
reader. For information on this service, see Check Reader Device service.