C# Class Eastern.OServer

Inheritance: IDisposable
Afficher le fichier Open project: yojimbo87/Eastern Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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
Résultat void

CreateDatabase() public méthode

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

DatabaseExist() public méthode

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

DeleteDatabase() public méthode

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

Dispose() public méthode

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

OServer() public méthode

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
Résultat System

Shutdown() public méthode

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