uk.org.ogsadai.engine
Interface BlockWriter

All Known Subinterfaces:
Pipe
All Known Implementing Classes:
SimplePipe, SynchronizedGrowablePipe, SynchronizedPipe

public interface BlockWriter

This is the interface used for writing blocks of output data.

Author:
The OGSA-DAI Project Team

Method Summary
 void close()
          Closes the block writer to indicate that there are no more blocks are to be written.
 void put(java.lang.Object block)
          Writes the specified block of output data.
 

Method Detail

put

public void put(java.lang.Object block)
Writes the specified block of output data.

Parameters:
block - the Object block to write

close

public void close()
Closes the block writer to indicate that there are no more blocks are to be written. After close has been called, the put method should no longer be used.