using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using System.Collections.Specialized; namespace SuperSocket.SocketBase.Config { /// /// The root configuration interface /// public partial interface IRootConfig { /// /// Gets the max working threads. /// int MaxWorkingThreads { get; } /// /// Gets the min working threads. /// int MinWorkingThreads { get; } /// /// Gets the max completion port threads. /// int MaxCompletionPortThreads { get; } /// /// Gets the min completion port threads. /// int MinCompletionPortThreads { get; } /// /// Gets a value indicating whether [disable performance data collector]. /// /// /// true if [disable performance data collector]; otherwise, false. /// bool DisablePerformanceDataCollector { get; } /// /// Gets the performance data collect interval, in seconds. /// int PerformanceDataCollectInterval { get; } /// /// Gets the log factory name. /// /// /// The log factory. /// string LogFactory { get; } /// /// Gets the isolation mode. /// IsolationMode Isolation { get; } /// /// Gets the option elements. /// NameValueCollection OptionElements { get; } /// /// Gets the child config. /// /// The type of the config. /// Name of the child config. /// TConfig GetChildConfig(string childConfigName) where TConfig : ConfigurationElement, new(); } }