|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.globus.ftp
Interface DataSource
- All Known Implementing Classes:
- FileRandomIO, OutputStreamDataSource, DataSourceStream
- public interface DataSource
Data channel uses this interface to read outgoing data. Implement it to provide your own ways of reading data. It must be thread safe; in parallel transfer mode several streams may attempt to read.
| Method Summary | |
void |
close()
|
Buffer |
read()
|
| Method Detail |
read
public Buffer read() throws IOException
close
public void close()
throws IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||