Sun Adapter Common API

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.

Sun Adapter Common API