IObjectServer Interface

Summary

The db4o server interface.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o
Interfaces
  • IDisposable
Implementing Types
graph BT Type-.->Interface0["IDisposable"] Type["IObjectServer"] class Type type-node Implementing0["IExtObjectServer"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Ext/IExtObjectServer"

Syntax

public interface IObjectServer : IDisposable

Remarks

The db4o server interface.

- db4o servers can be opened with Db4oClientServer#openServer(String,int) .
- Direct in-memory connections to servers can be made with Db4objects.Db4o.IObjectServer.OpenClient
- TCP connections are available through Db4oClientServer#openClient(String,int,String,String) .

Before connecting clients over TCP, you have to Db4objects.Db4o.IObjectServer.GrantAccess(System.String,System.String) to the username and password combination that you want to use.

Methods

Name Value Summary
Close() bool
Closes the Db4objects.Db4o.IObjectServer and writes all cached data.

Ext() IExtObjectServer
Returns an Db4objects.Db4o.Ext.IExtObjectServer with extended functionality.

Use this method to conveniently access extended methods.

The functionality is split to two interfaces to allow newcomers to focus on the essential methods.
GrantAccess(string, string) void
Grants client access to the specified user with the specified password.
OpenClient() IObjectContainer
Opens a client against this server.

See Also

  • Db4oClientServer#openServer(java.lang.String,int)
  • Db4objects.Db4o.Ext.IExtObjectServer