org.apache.ftpserver.remote.interfaces
Interface RemoteHandlerInterface

All Superinterfaces:
Remote
All Known Implementing Classes:
RemoteHandler

public interface RemoteHandlerInterface
extends Remote

Ftp server remote admin interface. This is the starting point of remote admin. Call stack:

    RemoteHandlerInterface
    |
    +---- FtpConfigInterface
          |
          +---- FtpStatisticsInterface <- FtpStatisticsListener, FtpFileListener
          |
          +---- ConnectionServiceInterface <- FtpConnectionObserver
          |
          +---- IpRestrictorInterface
          |
          +---- UserManagerInterface
 

Author:
Rana Bhattacharyya

Field Summary
static String BIND_NAME
          Remote interface ID
static String DISPLAY_NAME
          Display server name
 
Method Summary
 FtpConfigInterface getConfigInterface(String sessId)
          Get configuration interface
 String login(String id, String password)
          Remote admin login
 boolean logout(String sessId)
          Remote admin logout
 

Field Detail

BIND_NAME

static final String BIND_NAME
Remote interface ID

See Also:
Constant Field Values

DISPLAY_NAME

static final String DISPLAY_NAME
Display server name

See Also:
Constant Field Values
Method Detail

login

String login(String id,
             String password)
             throws Exception
Remote admin login

Throws:
Exception

logout

boolean logout(String sessId)
               throws RemoteException
Remote admin logout

Throws:
RemoteException

getConfigInterface

FtpConfigInterface getConfigInterface(String sessId)
                                      throws RemoteException
Get configuration interface

Throws:
RemoteException


Copyright © 2001-2012 Codehaus. All Rights Reserved.