Метод | Описание | |
---|---|---|
AddDatabase ( IToServerDatabaseSettings databaseConfig ) : void | ||
AddDatabase ( ServerDatabaseSettings databaseConfig ) : void |
Adds a database to the server
|
|
AddSocketListener ( SnapSocketListenerSettings socketSettings ) : void |
Adds the socket interface to the database
|
|
GetFullStatus ( StringBuilder status ) : void |
Gets the status of the server.
|
|
RemoveDatabase ( string database ) : void |
Unloads the database name.
|
|
SnapServer ( ) : System |
Creates an empty server instance
|
|
SnapServer ( IToServerDatabaseSettings settings ) : System |
Creates a new instance of SnapServer and adds the supplied database
|
|
SnapServer ( IToServerSettings settings ) : System |
Creates a new instance of SnapServer
|
|
UnloadSocket ( |
Unloads the specified socket interface.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the SnapServer object and optionally releases the managed resources.
|
Метод | Описание | |
---|---|---|
Contains ( string databaseName ) : bool |
Determines if databaseName is contained in the database.
|
|
GetDatabase ( string databaseName ) : SnapServerDatabaseBase |
Gets the database that matches databaseName
|
|
GetDatabaseInfo ( ) : List |
Gets basic information for every database connected to the server.
|
|
RegisterClient ( Client client ) : void |
Registers a client with the server host.
|
|
UnRegisterClient ( Client client ) : void |
UnRegisters a client with the server host.
|
public AddDatabase ( IToServerDatabaseSettings databaseConfig ) : void | ||
databaseConfig | IToServerDatabaseSettings | |
Результат | void |
public AddDatabase ( ServerDatabaseSettings databaseConfig ) : void | ||
databaseConfig | ServerDatabaseSettings | |
Результат | void |
public AddSocketListener ( SnapSocketListenerSettings socketSettings ) : void | ||
socketSettings | SnapSocketListenerSettings | the config data for the socket listener |
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Результат | void |
public GetFullStatus ( StringBuilder status ) : void | ||
status | StringBuilder | |
Результат | void |
public RemoveDatabase ( string database ) : void | ||
database | string | |
Результат | void |
public SnapServer ( IToServerDatabaseSettings settings ) : System | ||
settings | IToServerDatabaseSettings | |
Результат | System |
public SnapServer ( IToServerSettings settings ) : System | ||
settings | IToServerSettings | |
Результат | System |
public UnloadSocket ( |
||
socketEndpoint | ||
Результат | void |