|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FTPDataTransferListener
This interface describes the methods requested by an object that can listen data transfer operations. You can supply an object implementing this interface to any upload/download method of the client.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |