C# Class Eastern.OServer

Inheritance: IDisposable
Mostrar archivo Open project: yojimbo87/Eastern Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Close ( ) : void

Closes connection with server instance and resets session ID, user name and user password assigned to this object. This method is also called when ODatabase instance is being disposed.

CreateDatabase ( string databaseName, ODatabaseType databaseType, OStorageType storageType ) : bool

Creates new database on currently connected server instance.

DatabaseExist ( string databaseName ) : bool

Checks if specified database exists on currently connected server instance.

DeleteDatabase ( string databaseName ) : void

Deletes specified database on currently connected server instance.

Dispose ( ) : void

Closes connection with server instance and disposes this object.

OServer ( string hostname, int port, string userName, string userPassword ) : System

Initiates single dedicated connection with the server instance.

Shutdown ( ) : bool

Sends shut down command to currently connected server instance.

Method Details

Close() public method

Closes connection with server instance and resets session ID, user name and user password assigned to this object. This method is also called when ODatabase instance is being disposed.
public Close ( ) : void
return void

CreateDatabase() public method

Creates new database on currently connected server instance.
public CreateDatabase ( string databaseName, ODatabaseType databaseType, OStorageType storageType ) : bool
databaseName string
databaseType ODatabaseType
storageType OStorageType
return bool

DatabaseExist() public method

Checks if specified database exists on currently connected server instance.
public DatabaseExist ( string databaseName ) : bool
databaseName string
return bool

DeleteDatabase() public method

Deletes specified database on currently connected server instance.
public DeleteDatabase ( string databaseName ) : void
databaseName string
return void

Dispose() public method

Closes connection with server instance and disposes this object.
public Dispose ( ) : void
return void

OServer() public method

Initiates single dedicated connection with the server instance.
public OServer ( string hostname, int port, string userName, string userPassword ) : System
hostname string
port int
userName string
userPassword string
return System

Shutdown() public method

Sends shut down command to currently connected server instance.
public Shutdown ( ) : bool
return bool