org.apache.ftpserver.remote
Class FtpConfig

java.lang.Object
  extended byorg.apache.ftpserver.remote.FtpConfig
All Implemented Interfaces:
FtpConfigInterface, java.rmi.Remote

public class FtpConfig
extends java.lang.Object
implements FtpConfigInterface

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

Author:
Rana Bhattacharyya

Constructor Summary
FtpConfig(FtpConfig config)
          Constructor - sets the actual config object.
 
Method Summary
 java.lang.String getAddressString()
          Get address string
 FtpConfig getConfig()
          Get config
 ConnectionServiceInterface getConnectionService()
          Get the connection handler
 int getDefaultIdleTime()
          Get default idle time in seconds.
 java.lang.String getDefaultRoot()
          Get default root directory
 IpRestrictorInterface getIpRestrictor()
          Get IP restrictor object.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpConfig

public FtpConfig(FtpConfig config)
          throws java.rmi.RemoteException
Constructor - sets the actual config object.

Method Detail

getConfig

public FtpConfig getConfig()
Get config


getUserManager

public UserManagerInterface getUserManager()
Get user manager

Specified by:
getUserManager in interface FtpConfigInterface

getIpRestrictor

public IpRestrictorInterface getIpRestrictor()
Get IP restrictor object.

Specified by:
getIpRestrictor in interface FtpConfigInterface

getServerAddress

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

Specified by:
getServerAddress in interface FtpConfigInterface

getAddressString

public java.lang.String getAddressString()
Get address string

Specified by:
getAddressString in interface FtpConfigInterface

getServerPort

public int getServerPort()
Get server port.

Specified by:
getServerPort in interface FtpConfigInterface

isAnonymousLoginAllowed

public boolean isAnonymousLoginAllowed()
Check annonymous login support.

Specified by:
isAnonymousLoginAllowed in interface FtpConfigInterface

getConnectionService

public ConnectionServiceInterface getConnectionService()
Get the connection handler

Specified by:
getConnectionService in interface FtpConfigInterface

getMaxConnections

public int getMaxConnections()
Get maximum number of connections.

Specified by:
getMaxConnections in interface FtpConfigInterface

getMaxAnonymousLogins

public int getMaxAnonymousLogins()
Get maximum number of anonymous connections.

Specified by:
getMaxAnonymousLogins in interface FtpConfigInterface

getSchedulerInterval

public int getSchedulerInterval()
Get poll interval in seconds.

Specified by:
getSchedulerInterval in interface FtpConfigInterface

getDefaultIdleTime

public int getDefaultIdleTime()
Get default idle time in seconds.

Specified by:
getDefaultIdleTime in interface FtpConfigInterface

getDefaultRoot

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

Specified by:
getDefaultRoot in interface FtpConfigInterface

getStatistics

public FtpStatisticsInterface getStatistics()
Get global statistics object.

Specified by:
getStatistics in interface FtpConfigInterface

getRemoteAdminPort

public int getRemoteAdminPort()
Get rmi port

Specified by:
getRemoteAdminPort in interface FtpConfigInterface

isRemoteAdminAllowed

public boolean isRemoteAdminAllowed()
Is remote admin allowed

Specified by:
isRemoteAdminAllowed in interface FtpConfigInterface


Copyright © -2005 . All Rights Reserved.