org.apache.ftpserver.remote.interfaces
Interface FtpStatisticsInterface

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
FtpStatistics

public interface FtpStatisticsInterface
extends java.rmi.Remote

Ftp statistis remote interface.

Author:
Rana Bhattacharyya

Method Summary
 int getAnonLoginNbr()
          Get current number of anonymous logins.
 int getConnectionNbr()
          Get current number of connections.
 int getFileDeleteNbr()
          Get number of files deleted.
 int getFileDownloadNbr()
          Get number of files downloaded.
 long getFileDownloadSize()
          Get total number of bytes downloaded.
 FtpFileListener getFileListener()
          Set file listener
 int getFileUploadNbr()
          Get number of files uploaded.
 long getFileUploadSize()
          Get total number of bytes uploaded.
 FtpStatisticsListener getListener()
          Get listener object.
 int getLoginNbr()
          Get current number of logins
 java.util.Date getStartTime()
          Get server start time.
 int getTotalAnonLoginNbr()
          Get total number of anonymous logins
 int getTotalConnectionNbr()
          Get total number of connections
 int getTotalLoginNbr()
          Get total number of logins
 void setFileListener(FtpFileListener listener)
          Get file listener
 void setListener(FtpStatisticsListener listener)
          Set a listener object.
 

Method Detail

getStartTime

public java.util.Date getStartTime()
                            throws java.rmi.RemoteException
Get server start time.

Throws:
java.rmi.RemoteException

getFileUploadNbr

public int getFileUploadNbr()
                     throws java.rmi.RemoteException
Get number of files uploaded.

Throws:
java.rmi.RemoteException

getFileDownloadNbr

public int getFileDownloadNbr()
                       throws java.rmi.RemoteException
Get number of files downloaded.

Throws:
java.rmi.RemoteException

getFileDeleteNbr

public int getFileDeleteNbr()
                     throws java.rmi.RemoteException
Get number of files deleted.

Throws:
java.rmi.RemoteException

getFileUploadSize

public long getFileUploadSize()
                       throws java.rmi.RemoteException
Get total number of bytes uploaded.

Throws:
java.rmi.RemoteException

getFileDownloadSize

public long getFileDownloadSize()
                         throws java.rmi.RemoteException
Get total number of bytes downloaded.

Throws:
java.rmi.RemoteException

getConnectionNbr

public int getConnectionNbr()
                     throws java.rmi.RemoteException
Get current number of connections.

Throws:
java.rmi.RemoteException

getTotalConnectionNbr

public int getTotalConnectionNbr()
                          throws java.rmi.RemoteException
Get total number of connections

Throws:
java.rmi.RemoteException

getLoginNbr

public int getLoginNbr()
                throws java.rmi.RemoteException
Get current number of logins

Throws:
java.rmi.RemoteException

getTotalLoginNbr

public int getTotalLoginNbr()
                     throws java.rmi.RemoteException
Get total number of logins

Throws:
java.rmi.RemoteException

getAnonLoginNbr

public int getAnonLoginNbr()
                    throws java.rmi.RemoteException
Get current number of anonymous logins.

Throws:
java.rmi.RemoteException

getTotalAnonLoginNbr

public int getTotalAnonLoginNbr()
                         throws java.rmi.RemoteException
Get total number of anonymous logins

Throws:
java.rmi.RemoteException

setListener

public void setListener(FtpStatisticsListener listener)
                 throws java.rmi.RemoteException
Set a listener object.

Throws:
java.rmi.RemoteException

getListener

public FtpStatisticsListener getListener()
                                  throws java.rmi.RemoteException
Get listener object.

Throws:
java.rmi.RemoteException

setFileListener

public void setFileListener(FtpFileListener listener)
                     throws java.rmi.RemoteException
Get file listener

Throws:
java.rmi.RemoteException

getFileListener

public FtpFileListener getFileListener()
                                throws java.rmi.RemoteException
Set file listener

Throws:
java.rmi.RemoteException


Copyright © -2005 . All Rights Reserved.