public interface FTPDataTransferListener
Modifier and Type | Method and Description |
---|---|
void |
aborted()
Called to notify the listener that the transfer operation has been
aborted.
|
void |
completed()
Called to notify the listener that the transfer operation has been
successfully complete.
|
void |
failed()
Called to notify the listener that the transfer operation has failed due
to an error.
|
void |
started()
Called to notify the listener that the transfer operation has been
initialized.
|
void |
transferred(int length)
Called to notify the listener that some bytes have been transmitted.
|
void started()
void transferred(int length)
length
- The number of the bytes transmitted since the last time the
method was called (or since the begin of the operation, at the
first call received).void completed()
void aborted()
void failed()