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

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

Throws:
java.rmi.RemoteException

getFileUploadNbr

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

Throws:
java.rmi.RemoteException

getFileDownloadNbr

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

Throws:
java.rmi.RemoteException

getFileDeleteNbr

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

Throws:
java.rmi.RemoteException

getFileUploadSize

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

Throws:
java.rmi.RemoteException

getFileDownloadSize

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

Throws:
java.rmi.RemoteException

getConnectionNbr

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

Throws:
java.rmi.RemoteException

getTotalConnectionNbr

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

Throws:
java.rmi.RemoteException

getLoginNbr

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

Throws:
java.rmi.RemoteException

getTotalLoginNbr

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

Throws:
java.rmi.RemoteException

getAnonLoginNbr

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

Throws:
java.rmi.RemoteException

getTotalAnonLoginNbr

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

Throws:
java.rmi.RemoteException

setListener

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

Throws:
java.rmi.RemoteException

getListener

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

Throws:
java.rmi.RemoteException

setFileListener

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

Throws:
java.rmi.RemoteException

getFileListener

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

Throws:
java.rmi.RemoteException


Copyright © 2001-2009 Codehaus. All Rights Reserved.