xsmeral.pipe.interfaces
Interface ObjectSource<O>

Type Parameters:
O - Output object type
All Known Implementing Classes:
LocalObjectFilter, LocalObjectSource

public interface ObjectSource<O>

An object processor producing objects of one specific type.


Method Summary
 ObjectSink<O> getNext()
          Returns the next processor in chain.
 Queue<O> getOutBuffer()
          Returns the output buffer of this processor.
 Class getOutType()
          Returns the output object type
 void next(ObjectSink<O> sink)
          Sets the next processor in the chain and sets this as its previous.
 

Method Detail

getOutType

Class getOutType()
Returns the output object type


getOutBuffer

Queue<O> getOutBuffer()
Returns the output buffer of this processor.


next

void next(ObjectSink<O> sink)
Sets the next processor in the chain and sets this as its previous.

Parameters:
sink - The next processor

getNext

ObjectSink<O> getNext()
Returns the next processor in chain.