|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.impl.DefaultConnectionConfig
public class DefaultConnectionConfig
Internal class, do not use directly.
Constructor Summary | |
---|---|
DefaultConnectionConfig(boolean anonymousLoginEnabled,
int loginFailureDelay,
int maxLogins,
int maxAnonymousLogins,
int maxLoginFailures,
int maxThreads)
Internal constructor, do not use directly. |
Method Summary | |
---|---|
int |
getLoginFailureDelay()
The delay in number of milliseconds between login failures. |
int |
getMaxAnonymousLogins()
The maximum number of time an anonymous user can fail to login before getting disconnected |
int |
getMaxLoginFailures()
The maximum number of time an user can fail to login before getting disconnected |
int |
getMaxLogins()
The maximum number of concurrently logged in users |
int |
getMaxThreads()
Returns the maximum number of threads the server is allowed to create for processing client requests. |
boolean |
isAnonymousLoginEnabled()
Is anonymous logins allowed at the server? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultConnectionConfig(boolean anonymousLoginEnabled, int loginFailureDelay, int maxLogins, int maxAnonymousLogins, int maxLoginFailures, int maxThreads)
ConnectionConfigFactory
instead
Method Detail |
---|
public int getLoginFailureDelay()
ConnectionConfig
getLoginFailureDelay
in interface ConnectionConfig
public int getMaxAnonymousLogins()
ConnectionConfig
getMaxAnonymousLogins
in interface ConnectionConfig
public int getMaxLoginFailures()
ConnectionConfig
getMaxLoginFailures
in interface ConnectionConfig
public int getMaxLogins()
ConnectionConfig
getMaxLogins
in interface ConnectionConfig
public boolean isAnonymousLoginEnabled()
ConnectionConfig
isAnonymousLoginEnabled
in interface ConnectionConfig
public int getMaxThreads()
ConnectionConfig
getMaxThreads
in interface ConnectionConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |