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

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

Throws:
java.rmi.RemoteException

getIpRestrictor

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

Throws:
java.rmi.RemoteException

getServerAddress

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

Throws:
java.rmi.RemoteException

getAddressString

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

Throws:
java.rmi.RemoteException

getServerPort

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

Throws:
java.rmi.RemoteException

isAnonymousLoginAllowed

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

Throws:
java.rmi.RemoteException

getConnectionService

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

Throws:
java.rmi.RemoteException

getMaxConnections

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

Throws:
java.rmi.RemoteException

getMaxAnonymousLogins

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

Throws:
java.rmi.RemoteException

getSchedulerInterval

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

Throws:
java.rmi.RemoteException

getDefaultIdleTime

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

Throws:
java.rmi.RemoteException

getDefaultRoot

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

Throws:
java.rmi.RemoteException

getStatistics

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

Throws:
java.rmi.RemoteException

getRemoteAdminPort

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

Throws:
java.rmi.RemoteException

isRemoteAdminAllowed

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

Throws:
java.rmi.RemoteException


Copyright © 2001-2007 Codehaus. All Rights Reserved.