|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.remote.RemoteHandler
public class RemoteHandler
Ftp server remote admin adapter. This is the starting point of remote admin.
Field Summary |
---|
Fields inherited from interface org.apache.ftpserver.remote.interfaces.RemoteHandlerInterface |
---|
BIND_NAME, DISPLAY_NAME |
Constructor Summary | |
---|---|
RemoteHandler(FtpConfig config)
Constructor - set the actual user config object |
Method Summary | |
---|---|
void |
dispose()
Close the remote handler |
FtpConfigInterface |
getConfigInterface(String sessId)
Get configuration interface |
String |
login(String id,
String password)
Remote admin login |
boolean |
logout(String sessId)
Remote admin logout |
void |
unreferenced()
Unreferenced - admin user idle timeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteHandler(FtpConfig config) throws RemoteException
RemoteException
Method Detail |
---|
public String login(String id, String password) throws Exception
login
in interface RemoteHandlerInterface
Exception
public boolean logout(String sessId)
logout
in interface RemoteHandlerInterface
public FtpConfigInterface getConfigInterface(String sessId)
getConfigInterface
in interface RemoteHandlerInterface
public void dispose()
public void unreferenced()
unreferenced
in interface Unreferenced
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |