xsmeral.pipe.interfaces
Interface ObjectSink<I>

Type Parameters:
I - Input object type
All Known Implementing Classes:
LocalObjectFilter, LocalObjectSink

public interface ObjectSink<I>

An object processor receiving objects of one specific type


Method Summary
 Class getInType()
          Returns the input object type.
 ObjectSource<I> getPrev()
          Returns the previous processor in chain.
 void prev(ObjectSource<I> src)
          Sets this processor as the next in the chain, after the given processor.
 

Method Detail

prev

void prev(ObjectSource<I> src)
Sets this processor as the next in the chain, after the given processor.

Parameters:
src - The previous processor

getInType

Class getInType()
Returns the input object type.


getPrev

ObjectSource<I> getPrev()
Returns the previous processor in chain.