ServerSettings Class

Settings for SnapServer.

Definition

Namespace: SnapDB.Snap.Services
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class ServerSettings : SettingsBase<ServerSettings>, 
	IToServerSettings
Inheritance
Object    ImmutableObjectBaseServerSettings    ImmutableObjectAutoBaseServerSettings    SettingsBaseServerSettings    ServerSettings
Implements
IToServerSettings

Constructors

ServerSettings Creates a new instance of ServerSettings.

Properties

Databases Lists all of the databases that are part of the server.
IsReadOnly Gets or sets if this class is immutable and thus read-only. Once setting to read-only, the class becomes immutable.
(Inherited from ImmutableObjectBaseT)
Listeners Lists all of the socket based listeners for the database.

Methods

Clone Creates a clone of the object, either as a read-only instance or an editable one.
(Inherited from ImmutableObjectBaseT)
CloneEditable Creates a clone of this class that is editable. A clone is always created, even if this class is already editable.
(Inherited from ImmutableObjectBaseT)
CloneMembersAsEditable Request that member fields be cloned and marked as editable.
(Inherited from ImmutableObjectAutoBaseT)
CloneReadonly Creates a read-only clone of the object.
(Inherited from ImmutableObjectBaseT)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Load Loads server settings from a given Stream.
(Overrides SettingsBaseTLoad(Stream))
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Save Saves the current ServerSettings instance to a provided Stream.
(Overrides SettingsBaseTSave(Stream))
SetMembersAsReadOnly Requests that member fields be set to "read-only".
(Inherited from ImmutableObjectAutoBaseT)
TestForEditable Test if the class has been marked as read-only. Throws an exception if editing cannot occur.
(Inherited from ImmutableObjectBaseT)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Validates the server settings by validating each contained database and listener settings.
(Overrides SettingsBaseTValidate)

See Also