Table of Contents

Class GlobalConfiguration

Namespace
MASES.DataDistributionManager.Bindings
Assembly
DataDistributionManagerNet.dll

The global configuration class

public abstract class GlobalConfiguration : BaseConfiguration, IConfiguration, INotifyPropertyChanged
Inheritance
GlobalConfiguration
Implements
Derived
Inherited Members

Fields

GlobalLogLevelKey

Configuration key of GlobalLogLevel

public const string GlobalLogLevelKey = "datadistributionmanager.loglevel.global"

Field Value

string

MastershipLibraryKey

Configuration key of MastershipLibrary

public const string MastershipLibraryKey = "datadistributionmanager.common.mastershiplib"

Field Value

string

MaxMessageSizeKey

Configuration key of MaxMessageSize

public const string MaxMessageSizeKey = "datadistributionmanager.maxmessagesize"

Field Value

string

ProtocolKey

Configuration key of Protocol

public const string ProtocolKey = "datadistributionmanager.common.protocol"

Field Value

string

ProtocolLibraryKey

Configuration key of ProtocolLibrary

public const string ProtocolLibraryKey = "datadistributionmanager.common.protolib"

Field Value

string

ServerLostTimeoutKey

Configuration key of ServerLostTimeout

public const string ServerLostTimeoutKey = "datadistributionmanager.timeout.serverlost"

Field Value

string

Properties

GlobalLogLevel

The global log value

public DDM_LOG_LEVEL GlobalLogLevel { get; set; }

Property Value

DDM_LOG_LEVEL

MastershipLibrary

The mastership library to use

public string MastershipLibrary { get; set; }

Property Value

string

MaxMessageSize

The max message size managed

public uint MaxMessageSize { get; set; }

Property Value

uint

Protocol

The protocol to use (e.g. kafka, opendds)

public string Protocol { get; set; }

Property Value

string

ProtocolLibrary

The protocol library to use

public string ProtocolLibrary { get; set; }

Property Value

string

ServerLostTimeout

The timeout on server lost in ms

public uint ServerLostTimeout { get; set; }

Property Value

uint

Methods

CheckConfiguration()

Checks the configuration for mandatory information

protected override void CheckConfiguration()