FTP-Server API

server.event
Interface ServerObserver

All Known Implementing Classes:
Main, Survailance, UserList

public interface ServerObserver

Shold be implemented by the ones, that wants to listen on a server object!


Method Summary
 void clientConnected(UserSession userSession)
          The method is called when a new client connects to the FTP-Server.
 void clientDisconnected(UserSession userSession)
          The method is called when a clients disconnects from the FTP-Server
 void serverStarted(boolean startedOk)
          Indicated that the server has been attemped started
 void serverStoped()
          The server has been stoped!
 

Method Detail

clientConnected

public void clientConnected(UserSession userSession)
The method is called when a new client connects to the FTP-Server.

Parameters:
userSession - the client

clientDisconnected

public void clientDisconnected(UserSession userSession)
The method is called when a clients disconnects from the FTP-Server

Parameters:
userSession - the client

serverStarted

public void serverStarted(boolean startedOk)
Indicated that the server has been attemped started

Parameters:
startedOk - whether the server has started successfully or not.

serverStoped

public void serverStoped()
The server has been stoped!


FTP-Server API