org.apache.ftpserver.remote.interfaces
Interface FtpConfigInterface

All Superinterfaces:
Remote
All Known Implementing Classes:
FtpConfig

public interface FtpConfigInterface
extends Remote

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

Author:
Rana Bhattacharyya

Method Summary
 String getAddressString()
          Get address string
 ConnectionServiceInterface getConnectionService()
          Get user properties.
 int getDefaultIdleTime()
          Get default idle time in seconds.
 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.
 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 RemoteException
Get user manager

Throws:
RemoteException

getIpRestrictor

IpRestrictorInterface getIpRestrictor()
                                      throws RemoteException
Get ip restrictor

Throws:
RemoteException

getServerAddress

InetAddress getServerAddress()
                             throws RemoteException
Get server bind address.

Throws:
RemoteException

getAddressString

String getAddressString()
                        throws RemoteException
Get address string

Throws:
RemoteException

getServerPort

int getServerPort()
                  throws RemoteException
Get server port.

Throws:
RemoteException

isAnonymousLoginAllowed

boolean isAnonymousLoginAllowed()
                                throws RemoteException
Check annonymous login support.

Throws:
RemoteException

getConnectionService

ConnectionServiceInterface getConnectionService()
                                                throws RemoteException
Get user properties.

Throws:
RemoteException

getMaxConnections

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

Throws:
RemoteException

getMaxAnonymousLogins

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

Throws:
RemoteException

getSchedulerInterval

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

Throws:
RemoteException

getDefaultIdleTime

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

Throws:
RemoteException

getDefaultRoot

String getDefaultRoot()
                      throws RemoteException
Get default root directory

Throws:
RemoteException

getStatistics

FtpStatisticsInterface getStatistics()
                                     throws RemoteException
Get global statistics object.

Throws:
RemoteException

getRemoteAdminPort

int getRemoteAdminPort()
                       throws RemoteException
Get rmi port

Throws:
RemoteException

isRemoteAdminAllowed

boolean isRemoteAdminAllowed()
                             throws RemoteException
Is remote admin allowed

Throws:
RemoteException


Copyright © 2001-2012 Codehaus. All Rights Reserved.