public class FileBasedConfiguration extends FtpConfiguration
delayLimit, FTP_SESSION_ATTRIBUTE_KEY, FTP_SESSION_ATTRIBUTE_KEY_NAME, ftpConfiguration, 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, getActivePassiveMode, getBaseDirectory, getBlocksize, getClientThread, getDataBusinessHandler, getDataTimeoutCon, getDelayLimit, getFileParameter, getFileProperty, getFtpInternalConfiguration, getFtpSession, getIntProperty, getMaxGlobalMemory, getProperty, getServerAddress, getServerChannelReadLimit, getServerChannelWriteLimit, getServerGlobalReadLimit, getServerGlobalWriteLimit, getServerPort, getServerThread, getShutdownConfiguration, getStringProperty, getTimeoutCon, getUniqueExtension, isDeleteOnAbort, isShutdown, releaseResources, serverStartup, setActivePassiveMode, 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 final boolean setConfigurationFromXml(String filename)
filename
- public final SimpleAuth getSimpleAuth(String user)
user
- public final int getNextRangePort()
FtpConfiguration
getNextRangePort
in class FtpConfiguration
FtpConfiguration.getNextRangePort()
public final void inShutdownProcess()
FtpConfiguration
inShutdownProcess
in class FtpConfiguration
Copyright © 2009–2022 Waarp. All rights reserved.