
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, setTimeoutConpublic 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()
FtpConfigurationgetNextRangePort in class FtpConfigurationFtpConfiguration.getNextRangePort()public void inShutdownProcess()
FtpConfigurationinShutdownProcess in class FtpConfigurationCopyright © 2009–2020 Waarp. All rights reserved.