org.apache.ftpserver.remote.interfaces
Interface FtpConfigInterface

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

public interface FtpConfigInterface
extends java.rmi.Remote

Ftp configuration remote interface. It is used by remote admin GUI.

Author:
Rana Bhattacharyya

Method Summary
 java.lang.String getAddressString()
          Get address string
 ConnectionServiceInterface getConnectionService()
          Get user properties.
 int getDefaultIdleTime()
          Get default idle time in seconds.
 java.lang.String getDefaultRoot()
          Get default root directory
 IpRestrictorInterface getIpRestrictor()
          Get ip restrictor
 int getMaxAnonymousLogins()
          Get maximum number of anonymous connections.
 int getMaxConnections()
          Get maximum number of connections.
 int getRemoteAdminPort()
          Get rmi port
 int getSchedulerInterval()
          Get poll interval in seconds.
 java.net.InetAddress getServerAddress()
          Get server bind address.
 int getServerPort()
          Get server port.
 FtpStatisticsInterface getStatistics()
          Get global statistics object.
 UserManagerInterface getUserManager()
          Get user manager
 boolean isAnonymousLoginAllowed()
          Check annonymous login support.
 boolean isRemoteAdminAllowed()
          Is remote admin allowed
 

Method Detail

getUserManager

UserManagerInterface getUserManager()
                                    throws java.rmi.RemoteException
Get user manager

Throws:
java.rmi.RemoteException

getIpRestrictor

IpRestrictorInterface getIpRestrictor()
                                      throws java.rmi.RemoteException
Get ip restrictor

Throws:
java.rmi.RemoteException

getServerAddress

java.net.InetAddress getServerAddress()
                                      throws java.rmi.RemoteException
Get server bind address.

Throws:
java.rmi.RemoteException

getAddressString

java.lang.String getAddressString()
                                  throws java.rmi.RemoteException
Get address string

Throws:
java.rmi.RemoteException

getServerPort

int getServerPort()
                  throws java.rmi.RemoteException
Get server port.

Throws:
java.rmi.RemoteException

isAnonymousLoginAllowed

boolean isAnonymousLoginAllowed()
                                throws java.rmi.RemoteException
Check annonymous login support.

Throws:
java.rmi.RemoteException

getConnectionService

ConnectionServiceInterface getConnectionService()
                                                throws java.rmi.RemoteException
Get user properties.

Throws:
java.rmi.RemoteException

getMaxConnections

int getMaxConnections()
                      throws java.rmi.RemoteException
Get maximum number of connections.

Throws:
java.rmi.RemoteException

getMaxAnonymousLogins

int getMaxAnonymousLogins()
                          throws java.rmi.RemoteException
Get maximum number of anonymous connections.

Throws:
java.rmi.RemoteException

getSchedulerInterval

int getSchedulerInterval()
                         throws java.rmi.RemoteException
Get poll interval in seconds.

Throws:
java.rmi.RemoteException

getDefaultIdleTime

int getDefaultIdleTime()
                       throws java.rmi.RemoteException
Get default idle time in seconds.

Throws:
java.rmi.RemoteException

getDefaultRoot

java.lang.String getDefaultRoot()
                                throws java.rmi.RemoteException
Get default root directory

Throws:
java.rmi.RemoteException

getStatistics

FtpStatisticsInterface getStatistics()
                                     throws java.rmi.RemoteException
Get global statistics object.

Throws:
java.rmi.RemoteException

getRemoteAdminPort

int getRemoteAdminPort()
                       throws java.rmi.RemoteException
Get rmi port

Throws:
java.rmi.RemoteException

isRemoteAdminAllowed

boolean isRemoteAdminAllowed()
                             throws java.rmi.RemoteException
Is remote admin allowed

Throws:
java.rmi.RemoteException


Copyright © 2001-2009 Codehaus. All Rights Reserved.