SnapServer Class

Hosts all of the components of a SortedTreeStore.

Definition

Namespace: SnapDB.Snap.Services
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
Inheritance
Object    DisposableLoggingClassBase    SnapServer

Remarks

A centralized server hosting model for a SortedTreeStore. This class contains all of the databases, client connections, sockets, user authentication, and core settings for the SortedTreeStore.

Constructors

SnapServer Creates an empty server instance
SnapServer(IToServerDatabaseSettings) Creates a new instance of SnapServer and adds the supplied database
SnapServer(IToServerSettings) Creates a new instance of SnapServer

Properties

Log The LogPublisher for logging messages.
(Inherited from DisposableLoggingClassBase)

Methods

AddDatabase(IToServerDatabaseSettings) Adds a database to the server using the provided database configuration.
AddDatabase(ServerDatabaseSettings) Adds a database to the server
AddSocketListener Adds the socket interface to the database.
CheckDisposed Checks if the class has been disposed, throws an exception if this is the case.
(Inherited from DisposableLoggingClassBase)
Dispose Releases all the resources used by the DisposableLoggingClassBase object.
(Inherited from DisposableLoggingClassBase)
Dispose(Boolean) Releases the unmanaged resources used by the SnapServer object and optionally releases the managed resources.
(Overrides Dispose(Boolean))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize This code is here to detect when finalizers are called rather than a class be properly disposed.
(Inherited from DisposableLoggingClassBase)
GetFullStatus Gets the status of the server.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RemoveDatabase Unloads the database name.
ToStringReturns a string that represents the current object.
(Inherited from Object)
UnloadSocket Unloads the specified socket interface.

See Also