Java Globus API: Class EBlockImageDCWriter

org.globus.ftp.dc
Class EBlockImageDCWriter

java.lang.Object
  |
  +--org.globus.ftp.dc.EBlockAware
        |
        +--org.globus.ftp.dc.EBlockImageDCWriter
All Implemented Interfaces:
DataChannelWriter

public class EBlockImageDCWriter
extends EBlockAware
implements DataChannelWriter


Field Summary
protected  DataOutputStream output
           
 
Fields inherited from class org.globus.ftp.dc.EBlockAware
context, EOD, EOF, WILL_CLOSE
 
Constructor Summary
EBlockImageDCWriter()
           
 
Method Summary
 void close()
           
 void setDataStream(OutputStream out)
           
 void write(Buffer buf)
           
 
Methods inherited from class org.globus.ftp.dc.EBlockAware
setTransferContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

output

protected DataOutputStream output
Constructor Detail

EBlockImageDCWriter

public EBlockImageDCWriter()
Method Detail

setDataStream

public void setDataStream(OutputStream out)
Specified by:
setDataStream in interface DataChannelWriter

write

public void write(Buffer buf)
           throws IOException
Specified by:
write in interface DataChannelWriter

close

public void close()
           throws IOException
Specified by:
close in interface DataChannelWriter