org.apache.ftpserver.remote.adapter
Class FtpStatisticsListenerAdapter

java.lang.Object
  extended byorg.apache.ftpserver.remote.adapter.FtpStatisticsListenerAdapter
All Implemented Interfaces:
FtpStatisticsListener

public class FtpStatisticsListenerAdapter
extends java.lang.Object
implements FtpStatisticsListener

Ftp statistics listener remote interface.

Author:
Rana Bhattacharyya

Constructor Summary
FtpStatisticsListenerAdapter()
          Constructor - set the actual listener object
 
Method Summary
 FtpStatisticsListener getStatisticsListener()
          Get the actual listener object
 void notifyConnection()
          Connection open/close notification
 void notifyDelete()
          User file delete notification.
 void notifyDownload()
          User file download notification.
 void notifyLogin()
          New user login notification.
 void notifyLogout()
          User logout notification.
 void notifyUpload()
          User file upload notification.
 void setStatisticsListener(FtpStatisticsListener listener)
          Set the actual listener object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpStatisticsListenerAdapter

public FtpStatisticsListenerAdapter()
Constructor - set the actual listener object

Method Detail

getStatisticsListener

public FtpStatisticsListener getStatisticsListener()
Get the actual listener object


setStatisticsListener

public void setStatisticsListener(FtpStatisticsListener listener)
Set the actual listener object.


notifyUpload

public void notifyUpload()
User file upload notification.

Specified by:
notifyUpload in interface FtpStatisticsListener

notifyDownload

public void notifyDownload()
User file download notification.

Specified by:
notifyDownload in interface FtpStatisticsListener

notifyDelete

public void notifyDelete()
User file delete notification.

Specified by:
notifyDelete in interface FtpStatisticsListener

notifyLogin

public void notifyLogin()
New user login notification.

Specified by:
notifyLogin in interface FtpStatisticsListener

notifyLogout

public void notifyLogout()
User logout notification.

Specified by:
notifyLogout in interface FtpStatisticsListener

notifyConnection

public void notifyConnection()
Connection open/close notification

Specified by:
notifyConnection in interface FtpStatisticsListener


Copyright © 2001-2007 Codehaus. All Rights Reserved.