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.
Method Index
- o
getKey()
- Get the server's key
- o
init(String, String, NetForge)
- Initialize the server
- o
shutdown()
- Shut down the server ASAP.
- o
start()
- Start the server
- o
stop()
- Stop the server
o
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.
o
init
public abstract void init(String key,
String serverName,
NetForge nf)
- Initialize the server
o
start
public abstract void start()
- Start the server
o
stop
public abstract void stop()
- Stop the server
o
getKey
public abstract String getKey()
- Get the server's key
All Packages Class Hierarchy This Package Previous Next Index