public class SnapServer : DisposableLoggingClassBasePublic Class SnapServer
Inherits DisposableLoggingClassBasepublic ref class SnapServer : public DisposableLoggingClassBaseSnapDB.Snap.Services.SnapServer = function();
Type.createClass(
'SnapDB.Snap.Services.SnapServer',
DisposableLoggingClassBase);| 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 |
| Log |
The LogPublisher for logging messages.
(Inherited from DisposableLoggingClassBase) |
| 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)) |
| Equals | Determines 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. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| RemoveDatabase | Unloads the database name. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| UnloadSocket | Unloads the specified socket interface. |