|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ftpserver.remote.ConnectionService
public class ConnectionService
Ftp remote user service adapter class - used by remote admin GUI.
| Constructor Summary | |
|---|---|
ConnectionService(ConnectionService conService)
Constructor - sets the actual connection service object |
|
| Method Summary | |
|---|---|
void |
closeAllConnections()
Close all - close all the connections. |
void |
closeConnection(java.lang.String sessionId)
Close ftp connection for this session id. |
java.util.List |
getAllUsers()
It returns a list of all the currently connected users. |
ConnectionService |
getConnectionService()
Get the actual object. |
FtpConnectionObserver |
getObserver()
Get the observer. |
FtpUser |
getUser(java.lang.String sessId)
Get connected user |
void |
setObserver(FtpConnectionObserver obsr)
Set connection observer. |
void |
setSpyObject(java.lang.String sessId,
SpyConnectionInterface spy)
Set spy object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionService(ConnectionService conService)
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
|---|
public ConnectionService getConnectionService()
public java.util.List getAllUsers()
getAllUsers in interface ConnectionServiceInterfacepublic void setObserver(FtpConnectionObserver obsr)
setObserver in interface ConnectionServiceInterfacepublic FtpConnectionObserver getObserver()
getObserver in interface ConnectionServiceInterfacepublic FtpUser getUser(java.lang.String sessId)
getUser in interface ConnectionServiceInterface
public void setSpyObject(java.lang.String sessId,
SpyConnectionInterface spy)
setSpyObject in interface ConnectionServiceInterfacepublic void closeConnection(java.lang.String sessionId)
closeConnection in interface ConnectionServiceInterfacepublic void closeAllConnections()
closeAllConnections in interface ConnectionServiceInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||