public class FileBasedConfiguration extends FtpConfiguration
delayLimit, serverChannelReadLimit, serverChannelWriteLimit, serverGlobalReadLimit, serverGlobalWriteLimit
Constructor and Description |
---|
FileBasedConfiguration(Class<?> classtype,
Class<? extends BusinessHandler> businessHandler,
Class<? extends DataBusinessHandler> dataBusinessHandler,
FileParameterInterface fileParameter) |
Modifier and Type | Method and Description |
---|---|
int |
getNextRangePort()
Return the next available port for passive connections.
|
SimpleAuth |
getSimpleAuth(String user) |
void |
inShutdownProcess()
Shutdown process is on going
|
boolean |
setConfigurationFromXml(String filename)
Initiate the configuration from the xml file
|
bindLock, bindUnlock, changeNetworkLimit, checkPassword, computeNbThreads, delFtpSession, getBaseDirectory, getBlocksize, getClientThread, getDataBusinessHandler, getDataTimeoutCon, getDelayLimit, getFileParameter, getFileProperty, getFtpInternalConfiguration, getFtpSession, getFtpSessionNoRemove, getIntProperty, getLock, getMaxGlobalMemory, getProperty, getServerAddress, getServerChannelReadLimit, getServerChannelWriteLimit, getServerGlobalReadLimit, getServerGlobalWriteLimit, getServerPort, getServerThread, getShutdownConfiguration, getStringProperty, getTimeoutCon, getUniqueExtension, hasFtpSession, isDeleteOnAbort, isShutdown, releaseResources, serverStartup, setBaseDirectory, setBlocksize, setClientThread, setDataTimeoutCon, setDeleteOnAbort, setFileProperty, setIntProperty, setMaxGlobalMemory, setNewFtpSession, setPassword, setProperty, setServerAddress, setServerPort, setServerThread, setShutdown, setStringProperty, setTimeoutCon
public FileBasedConfiguration(Class<?> classtype, Class<? extends BusinessHandler> businessHandler, Class<? extends DataBusinessHandler> dataBusinessHandler, FileParameterInterface fileParameter)
classtype
- businessHandler
- class that will be used for
BusinessHandlerdataBusinessHandler
- class that will be used for
DataBusinessHandlerfileParameter
- the FileParameter to usepublic boolean setConfigurationFromXml(String filename)
filename
- public SimpleAuth getSimpleAuth(String user)
user
- public int getNextRangePort()
FtpConfiguration
getNextRangePort
in class FtpConfiguration
FtpConfiguration.getNextRangePort()
public void inShutdownProcess()
FtpConfiguration
inShutdownProcess
in class FtpConfiguration
Copyright © 2009–2020 Waarp. All rights reserved.