FTP-Server API

server.services
Class Dock

java.lang.Object
  |
  +--server.services.Dock
All Implemented Interfaces:
Runnable

public class Dock
extends Object
implements Runnable


Constructor Summary
Dock(HashSet observers)
           
 
Method Summary
static boolean canUserLogin(Session ses)
           
 void disconnect(Probe p)
           
 boolean doesAutoSave()
           
 int getServerPort()
           
 HashSet getUsers()
           
 boolean isRunning()
           
 void run()
           
 void setAutoSave(boolean on)
           
 void start()
           
 boolean stop()
           
static void userLogedOut(Session ses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dock

public Dock(HashSet observers)
Method Detail

setAutoSave

public void setAutoSave(boolean on)

doesAutoSave

public boolean doesAutoSave()

start

public void start()

stop

public boolean stop()

isRunning

public boolean isRunning()

run

public void run()
Specified by:
run in interface Runnable

userLogedOut

public static void userLogedOut(Session ses)

disconnect

public void disconnect(Probe p)

canUserLogin

public static boolean canUserLogin(Session ses)

getUsers

public HashSet getUsers()

getServerPort

public int getServerPort()

FTP-Server API