Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.rfid.workflow.print
Interface PrintObserver

    public interface PrintObserver

Interface that must be implemented by classes that should process callbacks from `PrintTag`.

Method Summary
`void` | `sendError(String errorMessage)` Used to notify any error that happened trying to program tags.
`void` | `sendPCSpecRequest(String epcPatStr)` Sends PCSpec request.
`void` | `sendPCWriteReport(com.connecterra.alepc.api.PCWriteReport report)` Sends the `PCWriteReport` which is the result of programming a tag.

Method Detail

### sendPCSpecRequest

    void sendPCSpecRequest(String epcPatStr)

  Sends PCSpec request. The observer is responsible for receiving this and sending a PCSpec back to `PrintTag`.

  Parameters:
    `epcPatStr` - the input string that `PrintTag` received through print or printSetup methods.

### sendPCWriteReport

    void sendPCWriteReport(com.connecterra.alepc.api.PCWriteReport report)

  Sends the `PCWriteReport` which is the result of programming a tag.

  Parameters:
    `report` - the result of programming tag operation

### sendError

    void sendError(String errorMessage)

  Used to notify any error that happened trying to program tags. This method is used to notify that the print operation failed because of timeout waiting to receive PCSpec.

  Parameters:
    `errorMessage` - string with error description

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at ${DOCSWEBROOT} Copyright 2007 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD