30 using OpenSim.Server.Base;
31 using OpenSim.Services.Interfaces;
32 using OpenSim.Framework.Servers.HttpServer;
42 public virtual string ConfigURL
44 get {
return String.Empty; }
47 public virtual string ConfigName
53 public virtual string ConfigFile
59 public virtual IConfigSource Config
76 IConfig config = null;
77 config = ServerUtils.GetConfig(ConfigFile, ConfigName);
82 IConfigSource remotesource = GetConfigSource();
84 if (remotesource != null)
86 IniConfigSource initialconfig =
new IniConfigSource();
87 initialconfig.Merge (remotesource);
88 initialconfig.Save(ConfigFile);
91 config = remotesource.Configs[ConfigName];
101 private IConfigSource GetConfigSource()
103 IConfigSource source = null;
105 source = ServerUtils.LoadInitialConfig(ConfigURL);
108 System.Console.WriteLine(String.Format (
"Config Url: {0} Not found!", ConfigURL));
ServiceConnector(IConfigSource config, IHttpServer server, string configName)
Interface to OpenSimulator's built in HTTP server. Use this to register handlers (http, llsd, xmlrpc, etc.) for given URLs.
Interactive OpenSim region server