org.apache.ftpserver.remote.adapter
Class FtpFileListenerAdapter

java.lang.Object
  extended byorg.apache.ftpserver.remote.adapter.FtpFileListenerAdapter
All Implemented Interfaces:
FtpFileListener

public class FtpFileListenerAdapter
extends java.lang.Object
implements FtpFileListener

Ftp file upload/download/delete listener remote interface.

Author:
Rana Bhattacharyya

Constructor Summary
FtpFileListenerAdapter()
          Default constructor.
 
Method Summary
 FtpFileListener getFileListener()
          Get actual listener object
 void notifyDelete(java.io.File file, java.lang.String sessionId)
          User file delete notification.
 void notifyDownload(java.io.File file, java.lang.String sessionId)
          User file download notification.
 void notifyUpload(java.io.File file, java.lang.String sessionId)
          User file upload notification.
 void setFileListener(FtpFileListener listener)
          Set file listener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpFileListenerAdapter

public FtpFileListenerAdapter()
Default constructor.

Method Detail

getFileListener

public FtpFileListener getFileListener()
Get actual listener object


setFileListener

public void setFileListener(FtpFileListener listener)
Set file listener


notifyUpload

public void notifyUpload(java.io.File file,
                         java.lang.String sessionId)
User file upload notification.

Specified by:
notifyUpload in interface FtpFileListener

notifyDownload

public void notifyDownload(java.io.File file,
                           java.lang.String sessionId)
User file download notification.

Specified by:
notifyDownload in interface FtpFileListener

notifyDelete

public void notifyDelete(java.io.File file,
                         java.lang.String sessionId)
User file delete notification.

Specified by:
notifyDelete in interface FtpFileListener


Copyright © -2005 . All Rights Reserved.