Package org.globus.ftp.dc
Class EBlockImageDCReader
java.lang.Object
org.globus.ftp.dc.EBlockAware
org.globus.ftp.dc.EBlockImageDCReader
- All Implemented Interfaces:
DataChannelReader
-
Field Summary
FieldsFields inherited from class org.globus.ftp.dc.EBlockAware
context, EOD, EOF, WILL_CLOSE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.globus.ftp.dc.EBlockAware
setTransferContext
-
Field Details
-
input
-
-
Constructor Details
-
EBlockImageDCReader
public EBlockImageDCReader()
-
-
Method Details
-
setDataStream
- Specified by:
setDataStream
in interfaceDataChannelReader
-
willCloseReceived
public boolean willCloseReceived()- Returns:
- true if at least once received the "server will close the connection" signal
-
read
- Specified by:
read
in interfaceDataChannelReader
- Returns:
- Buffer of read data or null if end of data
- Throws:
IOException
-
close
- Specified by:
close
in interfaceDataChannelReader
- Throws:
IOException
-