C# Class OpenSim.ConfigurationLoader

Show file Open project: nebadon2025/opensimulator Class Usage Examples

Protected Properties

Property Type Description
m_config OpenSimConfigSource
m_configSettings OpenSim.Framework.ConfigSettings
m_networkServersInfo OpenSim.Framework.NetworkServersInfo

Public Methods

Method Description
LoadConfigSettings ( IConfigSource argvSource, EnvConfigSource envConfigSource, ConfigSettings &configSettings, OpenSim.Framework.NetworkServersInfo &networkInfo ) : OpenSimConfigSource

Loads the region configuration

Protected Methods

Method Description
ReadConfigSettings ( ) : void

Read initial region settings from the ConfigSource

Private Methods

Method Description
AddIncludes ( OpenSimConfigSource configSource, List sources ) : void

Adds the included files as ini configuration files

DefaultConfig ( ) : IConfigSource

Setup a default config values in case they aren't present in the ini file

IsUri ( string file ) : bool

Check if we can convert the string to a URI

ReadConfig ( OpenSimConfigSource configSource, string iniPath ) : bool

Provide same ini loader functionality for standard ini and master ini - file system or XML over http

Method Details

LoadConfigSettings() public method

Loads the region configuration
public LoadConfigSettings ( IConfigSource argvSource, EnvConfigSource envConfigSource, ConfigSettings &configSettings, OpenSim.Framework.NetworkServersInfo &networkInfo ) : OpenSimConfigSource
argvSource IConfigSource Parameters passed into the process when started
envConfigSource EnvConfigSource
configSettings OpenSim.Framework.ConfigSettings
networkInfo OpenSim.Framework.NetworkServersInfo
return OpenSimConfigSource

ReadConfigSettings() protected method

Read initial region settings from the ConfigSource
protected ReadConfigSettings ( ) : void
return void

Property Details

m_config protected property

A source of Configuration data
protected OpenSimConfigSource,OpenSim m_config
return OpenSimConfigSource

m_configSettings protected property

Various Config settings the region needs to start Physics Engine, Mesh Engine, GridMode, PhysicsPrim allowed, Neighbor, StorageDLL, Storage Connection String, Estate connection String, Client Stack Standalone settings.
protected ConfigSettings,OpenSim.Framework m_configSettings
return OpenSim.Framework.ConfigSettings

m_networkServersInfo protected property

Grid Service Information. This refers to classes and addresses of the grid service
protected NetworkServersInfo,OpenSim.Framework m_networkServersInfo
return OpenSim.Framework.NetworkServersInfo