solar.service.fap
Interface SinkChannel

All Known Implementing Classes:
LocalSinkChannel, RemoteSinkChannel

public interface SinkChannel

A sink channel is for filter to send data.

Version:
$Id: SinkChannel.java,v 1.6 2003/07/30 19:44:09 glchen Exp $
Author:
Guanling Chen

Method Summary
 void attachDataSink(DataSink sink, InputPort inport)
          Attach a data sink to this pipe.
 DataSink getDataSink()
          Return the data sink of this pipe.
 InputPort getInputPort()
          Return the input port of the connected sink.
 boolean isRemote()
          Return whether the sink is on remote site.
 void pushData(java.lang.Object data)
          Push the data to the downstream filter (data sink).
 

Method Detail

isRemote

public boolean isRemote()
Return whether the sink is on remote site.


attachDataSink

public void attachDataSink(DataSink sink,
                           InputPort inport)
                    throws FapException
Attach a data sink to this pipe.

FapException

getDataSink

public DataSink getDataSink()
                     throws FapException
Return the data sink of this pipe.

FapException

getInputPort

public InputPort getInputPort()
                       throws FapException
Return the input port of the connected sink.

FapException

pushData

public void pushData(java.lang.Object data)
              throws FapException
Push the data to the downstream filter (data sink).

FapException