Summary
Configuration used for StartServer and StopServer.
- Assembly
- Db4odoc
.Tutorial .Chapters-2010 .dll - Namespace
- Db4odoc
.Tutorial .F1 .Chapter6 - Base Types
-
- Object
- Derived Types
graph BT
Type-->Base0["Object"]
Type["ServerInfo"]
class Type type-node
Derived0["StartServer"]-->Type
click Derived0 "/db4o-gpl-doc/output/api/Db4odoc.Tutorial.F1.Chapter6/StartServer"
Derived1["StopServer"]-->Type
click Derived1 "/db4o-gpl-doc/output/api/Db4odoc.Tutorial.F1.Chapter6/StopServer"
Syntax
public class ServerInfo
Fields
Name | Constant Value | Summary |
---|---|---|
FILE | formula1.yap |
the database file to be used by the server.
static
|
HOST | localhost |
the host to be used.
If you want to run the client server examples on two computers,
enter the computer name of the one that you want to use as server.
static
|
PASS | db4o |
the pasword for access control.
static
|
PORT | 4488 |
the port to be used by the server.
static
|
USER | db4o |
the user name for access control.
static
|