public interface FileTransferController
Modifier and Type | Method and Description |
---|---|
void |
bytesTransferred(int extracted)
Called every now and then to indicates that another package of bytes hase
been transferred
|
boolean |
isCanceled()
Indicates wether a file transfer is supposed to be cancelled.
|
void |
transferCompleted()
Indicates that a file transfer was completed
|
void |
transferStarted(long length)
Indicates that a file transfer was initiated.
|
void transferStarted(long length)
length
- the length of the file at the client sidevoid transferCompleted()
boolean isCanceled()
true
then the TransportPlugin will stop sending
bytes.true
if the transfer operation is supposed to be
stoppedvoid bytesTransferred(int extracted)
extracted
- the amount of transferred (extracted) bytes