C# Class Db4oFramework.HostedServerSessionFactory

Used to host a server within this process
Inheritance: SessionFactoryBase
Datei anzeigen Open project: jhicks/Db4oFramework Class Usage Examples

Public Methods

Method Description
HostedServerSessionFactory ( ICurrentSessionContext currentSessionContext, IServerConfiguration config, string dbFileName, int port ) : Db4objects.Db4o

Allows configuration of the server and opening to the outside

HostedServerSessionFactory ( ICurrentSessionContext currentSessionContext, string dbFileName ) : Db4objects.Db4o

Creates a hosted server that is only accessible in process

Protected Methods

Method Description
DoDisposal ( ) : void
OpenClient ( ) : IObjectContainer

Method Details

DoDisposal() protected method

protected DoDisposal ( ) : void
return void

HostedServerSessionFactory() public method

Allows configuration of the server and opening to the outside
public HostedServerSessionFactory ( ICurrentSessionContext currentSessionContext, IServerConfiguration config, string dbFileName, int port ) : Db4objects.Db4o
currentSessionContext ICurrentSessionContext
config IServerConfiguration
dbFileName string
port int
return Db4objects.Db4o

HostedServerSessionFactory() public method

Creates a hosted server that is only accessible in process
public HostedServerSessionFactory ( ICurrentSessionContext currentSessionContext, string dbFileName ) : Db4objects.Db4o
currentSessionContext ICurrentSessionContext
dbFileName string
return Db4objects.Db4o

OpenClient() protected method

protected OpenClient ( ) : IObjectContainer
return IObjectContainer