org.apache.ftpserver.remote.interfaces
Interface RemoteHandlerInterface

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RemoteHandler

public interface RemoteHandlerInterface
extends java.rmi.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 java.lang.String BIND_NAME
          Remote interface ID
static java.lang.String DISPLAY_NAME
          Display server name
 
Method Summary
 FtpConfigInterface getConfigInterface(java.lang.String sessId)
          Get configuration interface
 java.lang.String login(java.lang.String id, java.lang.String password)
          Remote admin login
 boolean logout(java.lang.String sessId)
          Remote admin logout
 

Field Detail

BIND_NAME

public static final java.lang.String BIND_NAME
Remote interface ID

See Also:
Constant Field Values

DISPLAY_NAME

public static final java.lang.String DISPLAY_NAME
Display server name

See Also:
Constant Field Values
Method Detail

login

public java.lang.String login(java.lang.String id,
                              java.lang.String password)
                       throws java.lang.Exception
Remote admin login

Throws:
java.lang.Exception

logout

public boolean logout(java.lang.String sessId)
               throws java.rmi.RemoteException
Remote admin logout

Throws:
java.rmi.RemoteException

getConfigInterface

public FtpConfigInterface getConfigInterface(java.lang.String sessId)
                                      throws java.rmi.RemoteException
Get configuration interface

Throws:
java.rmi.RemoteException


Copyright © -2005 . All Rights Reserved.