Package org.exoplatform.services.ftp
Class FtpServerImpl
- java.lang.Object
-
- org.exoplatform.services.ftp.FtpServerImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classFtpServerImpl.FtpAcceptThread
-
Field Summary
Fields Modifier and Type Field Description static StringCOMMAND_PATH
-
Constructor Summary
Constructors Constructor Description FtpServerImpl(FtpConfig configuration, org.exoplatform.services.command.impl.CommandService commandService, org.exoplatform.services.jcr.RepositoryService repositoryService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetClientsCount()FtpCommandgetCommand(String commandName)FtpConfiggetConfiguration()FtpDataChannelManagergetDataChannelManager()org.exoplatform.services.jcr.core.ManageableRepositorygetRepository()protected voidprepareCache()booleanstart()booleanstop()booleanunRegisterClient(FtpClientSession clientSession)
-
-
-
Field Detail
-
COMMAND_PATH
public static final String COMMAND_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
prepareCache
protected void prepareCache()
-
getConfiguration
public FtpConfig getConfiguration()
- Specified by:
getConfigurationin interfaceFtpServer
-
getRepository
public org.exoplatform.services.jcr.core.ManageableRepository getRepository()
- Specified by:
getRepositoryin interfaceFtpServer- Returns:
ManageableRepositoryornullif repository can not be retrieved
-
getCommand
public FtpCommand getCommand(String commandName)
- Specified by:
getCommandin interfaceFtpServer
-
getDataChannelManager
public FtpDataChannelManager getDataChannelManager()
- Specified by:
getDataChannelManagerin interfaceFtpServer
-
unRegisterClient
public boolean unRegisterClient(FtpClientSession clientSession)
- Specified by:
unRegisterClientin interfaceFtpServer
-
getClientsCount
public int getClientsCount()
- Specified by:
getClientsCountin interfaceFtpServer
-
-