|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FtpEventListener
Eventlistener
that is implemented by classes that are to be informed by FTP
command objects on certain events.
Method Summary | |
---|---|
void |
downloadPerformed(java.lang.String clientId,
java.io.File file)
The event is called after a file has been downloaded by a client. |
void |
loginPerformed(java.lang.String clientId,
boolean successful)
Number of failed long attempts. |
void |
sessionClosed(java.lang.Object sessionObj)
Method is called after a client session has been closed. |
void |
sessionOpened(java.lang.Object sessionObj)
Method is called after a client session has been opened. |
void |
uploadPerformed(java.lang.String clientId,
java.io.File file)
The event is called after a file has been uploaded by a client. |
Method Detail |
---|
void uploadPerformed(java.lang.String clientId, java.io.File file)
file
- The uploaded file.clientId
- The unique ID of a client.void downloadPerformed(java.lang.String clientId, java.io.File file)
file
- The downloaded file.clientId
- The unique ID of a client.void loginPerformed(java.lang.String clientId, boolean successful)
clientId
- The unique ID of a client.successful
- True, if the authentication was successful.void sessionOpened(java.lang.Object sessionObj)
sessionObj
- The closed session object.void sessionClosed(java.lang.Object sessionObj)
sessionObj
- The closed session object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |