com.Prominic.jFTPd
Interface RemoteController

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
FTPRemoteCtrlImpl, FTPRemoteCtrlImpl_Stub

public interface RemoteController
extends java.rmi.Remote

RMI Controller for FTPHandler, but it is not used in production. Provides most common methods to control the server.

Author:
Iulian

Method Summary
 boolean authorized()
           
 java.util.Hashtable getAllParameters()
           
 int getConnectionCount()
           
 java.util.Vector getConnections()
           
 java.lang.String getParameter(java.lang.String key)
           
 java.lang.String getServerUptime()
          Insert the method's description here.
 java.util.Vector getUserActivity(int id)
           
 boolean login(java.lang.String password)
           
 boolean serverRunning()
           
 void setParameter(java.lang.String key, java.lang.String value)
           
 void startService()
           
 void stopService()
           
 boolean terminateConnection(int id)
           
 

Method Detail

authorized

boolean authorized()
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAllParameters

java.util.Hashtable getAllParameters()
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getConnectionCount

int getConnectionCount()
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getConnections

java.util.Vector getConnections()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getParameter

java.lang.String getParameter(java.lang.String key)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getServerUptime

java.lang.String getServerUptime()
                                 throws java.rmi.RemoteException
Insert the method's description here. Creation date: (10-Dec-01 20:58:20)

Returns:
java.lang.String
Throws:
java.rmi.RemoteException

getUserActivity

java.util.Vector getUserActivity(int id)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

login

boolean login(java.lang.String password)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

serverRunning

boolean serverRunning()
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setParameter

void setParameter(java.lang.String key,
                  java.lang.String value)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

startService

void startService()
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

stopService

void stopService()
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

terminateConnection

boolean terminateConnection(int id)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException