Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter Common API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.stc.connector.appconn.common
Interface OutputHandler

    public interface OutputHandler

This interface allows the collaboration framework to "send" data to an external system. The eWay implements the OutputHandler in an EIS specific way.

Version:
  $Version$
Author:
  $Author: cmbuild $

Method Summary
`void` | `write(byte[] payload)` Write the byte array contents to the external system.
`void` | `write(java.io.OutputStream payload)` Write the contents avaiable in the provided OutputStream to the external system.

Method Detail

### write

    void write(byte[] payload)
               throws ApplicationException

  Write the byte array contents to the external system.

  Parameters:
    `payload` - The byte array contents to send to the external system.
  Throws:
    `ApplicationException` - upon error.

### write

    void write(java.io.OutputStream payload)
               throws ApplicationException

  Write the contents avaiable in the provided OutputStream to the external system.

  Parameters:
    `payload` - The OutputStream containing the contents to send to the external system.
  Throws:
    `ApplicationException` - upon error.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter Common API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD