All Packages Class Hierarchy This Package Previous Next Index
Interface novocode.netforge.Server
- public interface Server
- extends Configurable
This interface is implemented by all NetForge servers.
-
getKey()
- Get the server's key
-
init(String, String, NetForge)
- Initialize the server
-
shutdown()
- Shut down the server ASAP.
-
start()
- Start the server
-
stop()
- Stop the server
shutdown
public abstract void shutdown()
- Shut down the server ASAP.
The server is notified to accept no further connections. When all
active threads have stopped running the server is shut down.
init
public abstract void init(String key,
String serverName,
NetForge nf)
- Initialize the server
start
public abstract void start()
- Start the server
stop
public abstract void stop()
- Stop the server
getKey
public abstract String getKey()
- Get the server's key
All Packages Class Hierarchy This Package Previous Next Index