mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
* Started arduous config refactoring task with babystep introduction of common baseclass for backend configs.
This commit is contained in:
@@ -33,7 +33,7 @@ namespace OpenSim.Framework
|
||||
/// <summary>
|
||||
/// AssetConfig -- For Asset Server Configuration
|
||||
/// </summary>
|
||||
public class AssetConfig
|
||||
public class AssetConfig:ConfigBase
|
||||
{
|
||||
public const uint DefaultHttpPort = 8003;
|
||||
|
||||
|
||||
10
OpenSim/Framework/ConfigBase.cs
Normal file
10
OpenSim/Framework/ConfigBase.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
public abstract class ConfigBase
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ using System;
|
||||
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
public class GridConfig
|
||||
public class GridConfig:ConfigBase
|
||||
{
|
||||
public static uint DefaultHttpPort = 8001;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace OpenSim.Framework
|
||||
/// <summary>
|
||||
/// Defines and handles inventory grid server configuration
|
||||
/// </summary>
|
||||
public class InventoryConfig
|
||||
public class InventoryConfig:ConfigBase
|
||||
{
|
||||
public static uint DefaultHttpPort = 8004;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace OpenSim.Framework
|
||||
/// <summary>
|
||||
/// Message Server Config - Configuration of the Message Server
|
||||
/// </summary>
|
||||
public class MessageServerConfig
|
||||
public class MessageServerConfig:ConfigBase
|
||||
{
|
||||
public static uint DefaultHttpPort = 8006;
|
||||
public static bool DefaultHttpSSL = false;
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace OpenSim.Framework
|
||||
/// <summary>
|
||||
/// UserConfig -- For User Server Configuration
|
||||
/// </summary>
|
||||
public class UserConfig
|
||||
public class UserConfig:ConfigBase
|
||||
{
|
||||
public static uint DefaultHttpPort = 8002;
|
||||
public static bool DefaultHttpSSL = false;
|
||||
|
||||
Reference in New Issue
Block a user