|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FtpServer
Contract for FTP server implementations.
Method Summary | |
---|---|
void |
abort()
Halts the server. |
void |
addFtpEventListener(FtpEventListener lstnr)
Adds an external listerner that wants to get informed about FTP events. |
void |
cleanUpSessions()
Removes closed sessions from memory. |
int |
getConnectionCount()
Returns the number of FTP connections currently active. |
int |
getConnectionCountHWMark()
Maximum number of connections since server started. |
java.util.Date |
getConnectionCountHWMarkDate()
Date when number of connections reached its maximum. |
java.lang.String |
getName()
Returns the name of the FTP server. |
FtpServerOptions |
getOptions()
Returns the application properties. |
java.util.List<FtpSession> |
getSessions()
Returns the list of active sessions. |
int |
getStatus()
Returns the server status. |
UserManager |
getUserManager()
Returns the user manager implementation. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
java.lang.String getName()
int getConnectionCount()
int getConnectionCountHWMark()
java.util.Date getConnectionCountHWMarkDate()
void abort()
int getStatus()
java.util.List<FtpSession> getSessions()
void cleanUpSessions()
FtpServerOptions getOptions()
UserManager getUserManager()
void addFtpEventListener(FtpEventListener lstnr)
lstnr
- The listener.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |