org.exoplatform.services.ftp
Class FtpServerImpl

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

public class FtpServerImpl
extends java.lang.Object
implements FtpServer

Created by The eXo Platform SAS Author : Vitaly Guly

Version:
$Id: FtpServerImpl.java 35180 2009-08-07 14:04:22Z pnedonosko $

Nested Class Summary
protected  class FtpServerImpl.FtpAcceptThread
           
 
Field Summary
static java.lang.String COMMAND_PATH
           
 
Constructor Summary
FtpServerImpl(FtpConfig configuration, org.exoplatform.services.command.impl.CommandService commandService, ManageableRepository repository)
           
 
Method Summary
 int getClientsCount()
           
 FtpCommand getCommand(java.lang.String commandName)
           
 FtpConfig getConfiguration()
           
 FtpDataChannelManager getDataChannelManager()
           
 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 java.lang.String COMMAND_PATH
See Also:
Constant Field Values
Constructor Detail

FtpServerImpl

public FtpServerImpl(FtpConfig configuration,
                     org.exoplatform.services.command.impl.CommandService commandService,
                     ManageableRepository repository)
              throws java.lang.Exception
Throws:
java.lang.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 ManageableRepository getRepository()
Specified by:
getRepository in interface FtpServer

getCommand

public FtpCommand getCommand(java.lang.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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.