solar.service.fap
Interface DataSink

All Known Subinterfaces:
Filter
All Known Implementing Classes:
NodeHandler

public interface DataSink

A data sink is the ending point of a pipe.

Version:
$Id: DataSink.java,v 1.7 2003/07/31 18:36:39 glchen Exp $
Author:
Guanling Chen

Method Summary
 void attachInputPipe(Pipe pipe, InputPort inport)
          Attach an input pipe to this data sink.
 Pipe[] getInputPipes()
          Return all the input pipes in an array.
 InputPort[] getInputPorts()
          Return all the input ports in an array.
 void pushData(java.lang.Object data, InputPort inport)
          Push data to this data sink at a specific port.
 

Method Detail

attachInputPipe

public void attachInputPipe(Pipe pipe,
                            InputPort inport)
                     throws FapException
Attach an input pipe to this data sink.

FapException

getInputPipes

public Pipe[] getInputPipes()
Return all the input pipes in an array.


getInputPorts

public InputPort[] getInputPorts()
Return all the input ports in an array.


pushData

public void pushData(java.lang.Object data,
                     InputPort inport)
              throws FapException
Push data to this data sink at a specific port.

FapException