Db4oClientServer Class

Summary

Factory class to open db4o servers and to connect db4o clients to them.
Assembly
Db4objects.Db4o.CS-2010.dll
Namespace
Db4objects.Db4o.CS
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Db4oClientServer"] class Type type-node

Syntax

public class Db4oClientServer

Remarks

Factory class to open db4o servers and to connect db4o clients to them.

Note:
This class is made available in db4o-X.x-cs-java.jar / Db4objects.Db4o.CS.dll

Fields

Name Constant Value Summary
ArbitraryPort -1
static

Methods

Name Value Summary
NewClientConfiguration() IClientConfiguration
creates a new Db4objects.Db4o.CS.Config.IClientConfiguration
static
NewServerConfiguration() IServerConfiguration
creates a new Db4objects.Db4o.CS.Config.IServerConfiguration
static
OpenClient(IClientConfiguration, string, int, string, string) IObjectContainer
opens a db4o client instance with the specified configuration.
static
OpenClient(string, int, string, string) IObjectContainer
opens a db4o client instance with a fresh client configuration.
static
OpenServer(IServerConfiguration, string, int) IObjectServer
opens an Db4objects.Db4o.IObjectServer on the specified database file and port.

static
OpenServer(string, int) IObjectServer
opens a db4o server with a fresh server configuration.
static