C# Class SIL.FieldWorks.FDO.FDOTests.TemporaryDb4OServerFile

Creates a temporary db4o Server file
Inheritance: IDisposable
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ConnectADummyClient ( ) : DummyLocalConnectedClient

Connect a Dummy client to the running server file.

Dispose ( ) : void

Deletes the temporary db4o Server file

StartServer ( ) : void

Start the temporary Db4o server file

StopServer ( ) : void

Stop the temporary d4o server file

TemporaryDb4OServerFile ( Db4oServerInfo db4OServerInfo ) : System

Protected Methods

Method Description
Dispose ( bool fDisposing ) : void

Method Details

ConnectADummyClient() public method

Connect a Dummy client to the running server file.
public ConnectADummyClient ( ) : DummyLocalConnectedClient
return DummyLocalConnectedClient

Dispose() public method

Deletes the temporary db4o Server file
public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool fDisposing ) : void
fDisposing bool
return void

StartServer() public method

Start the temporary Db4o server file
public StartServer ( ) : void
return void

StopServer() public method

Stop the temporary d4o server file
public StopServer ( ) : void
return void

TemporaryDb4OServerFile() public method

public TemporaryDb4OServerFile ( Db4oServerInfo db4OServerInfo ) : System
db4OServerInfo FwRemoteDatabaseConnector.Db4oServerInfo
return System