| java.lang.Object com.db4o.f1.chapter5.StartServer
StartServer | public class StartServer implements ServerConfiguration,MessageRecipient(Code) | | starts a db4o server with the settings from
ServerConfiguration .
This is a typical setup for a long running server.
The Server may be stopped from a remote location by running
StopServer. The StartServer instance is used as a MessageRecipient and
reacts to receiving an instance of a StopServer object.
Note that all user classes need to be present on the server
side and that all possible Db4o.configure() calls to alter the db4o
configuration need to be executed on the client and on the server.
|
close | public void close()(Code) | | closes this server.
|
runServer | public void runServer()(Code) | | opens the ObjectServer, and waits forever until close() is called
or a StopServer message is being received.
|
|
|