public class FileBasedConfiguration extends FtpConfiguration
delayLimit, serverChannelReadLimit, serverChannelWriteLimit, serverGlobalReadLimit, serverGlobalWriteLimit
Constructor and Description |
---|
FileBasedConfiguration(Class<?> classtype,
Class<? extends BusinessHandler> businessHandler,
Class<? extends DataBusinessHandler> dataBusinessHandler,
org.waarp.common.file.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, getCLIENT_THREAD, getDataBusinessHandler, getDATATIMEOUTCON, getDelayLimit, getFileParameter, getFileProperty, getFtpInternalConfiguration, getFtpSession, getFtpSessionNoRemove, getIntProperty, getLock, getMaxGlobalMemory, getProperty, getSERVER_THREAD, getServerAddress, getServerChannelReadLimit, getServerChannelWriteLimit, getServerGlobalReadLimit, getServerGlobalWriteLimit, getServerPort, getShutdownConfiguration, getStringProperty, getTIMEOUTCON, getUniqueExtension, hasFtpSession, isDeleteOnAbort, isShutdown, releaseResources, serverStartup, setBaseDirectory, setBLOCKSIZE, setCLIENT_THREAD, setDATATIMEOUTCON, setDeleteOnAbort, setFileProperty, setIntProperty, setMaxGlobalMemory, setNewFtpSession, setPassword, setProperty, setSERVER_THREAD, setServerAddress, setServerPort, setShutdown, setStringProperty, setTIMEOUTCON
public FileBasedConfiguration(Class<?> classtype, Class<? extends BusinessHandler> businessHandler, Class<? extends DataBusinessHandler> dataBusinessHandler, org.waarp.common.file.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–2019 Waarp. All rights reserved.