eXo JCR :: Component :: FTP Service 1.16.0-Alpha4

org.exoplatform.services.ftp
Class FtpServerImpl

java.lang.Object
  extended by org.exoplatform.services.ftp.FtpServerImpl
All Implemented Interfaces:
FtpServer

public class FtpServerImpl
extends Object
implements FtpServer

Created by The eXo Platform SAS Author : Vitaly Guly

Version:
$Id: $

Nested Class Summary
protected  class FtpServerImpl.FtpAcceptThread
           
 
Field Summary
static String COMMAND_PATH
           
 
Constructor Summary
FtpServerImpl(FtpConfig configuration, org.exoplatform.services.command.impl.CommandService commandService, org.exoplatform.services.jcr.RepositoryService repositoryService)
           
 
Method Summary
 int getClientsCount()
           
 FtpCommand getCommand(String commandName)
           
 FtpConfig getConfiguration()
           
 FtpDataChannelManager getDataChannelManager()
           
 org.exoplatform.services.jcr.core.ManageableRepository getRepository()
           
protected  void prepareCache()
           
 boolean start()
           
 boolean stop()
           
 boolean unRegisterClient(FtpClientSession clientSession)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMAND_PATH

public static final String COMMAND_PATH
See Also:
Constant Field Values
Constructor Detail

FtpServerImpl

public FtpServerImpl(FtpConfig configuration,
                     org.exoplatform.services.command.impl.CommandService commandService,
                     org.exoplatform.services.jcr.RepositoryService repositoryService)
              throws Exception
Throws:
Exception
Method Detail

prepareCache

protected void prepareCache()

start

public boolean start()
Specified by:
start in interface FtpServer

stop

public boolean stop()
Specified by:
stop in interface FtpServer

getConfiguration

public FtpConfig getConfiguration()
Specified by:
getConfiguration in interface FtpServer

getRepository

public org.exoplatform.services.jcr.core.ManageableRepository getRepository()
Specified by:
getRepository in interface FtpServer
Returns:
ManageableRepository or null if repository can not be retrieved

getCommand

public FtpCommand getCommand(String commandName)
Specified by:
getCommand in interface FtpServer

getDataChannelManager

public FtpDataChannelManager getDataChannelManager()
Specified by:
getDataChannelManager in interface FtpServer

unRegisterClient

public boolean unRegisterClient(FtpClientSession clientSession)
Specified by:
unRegisterClient in interface FtpServer

getClientsCount

public int getClientsCount()
Specified by:
getClientsCount in interface FtpServer

eXo JCR :: Component :: FTP Service 1.16.0-Alpha4

Copyright © 2014 eXo Platform SAS. All Rights Reserved.