org.extex.ocpware.engine
Interface OcpReaderObserver


public interface OcpReaderObserver

This interface describes an observer of an OcpReader. The callback methods are invoked when a matching event is recognized.

Version:
$Revision: 6018 $
Author:
Gerd Neugebauer

Method Summary
 void close(OcpReader reader)
          Observe the closing of the reader.
 void step(OcpReader reader, int opcode, int arg)
          Observe one step in the processing of an ΩCP reader.
 

Method Detail

step

void step(OcpReader reader,
          int opcode,
          int arg)
Observe one step in the processing of an ΩCP reader.

Parameters:
reader - the ΩCP reader
opcode - the op code
arg - the argument

close

void close(OcpReader reader)
Observe the closing of the reader.

Parameters:
reader - the ΩCP reader