31 using OpenSim.Server.Base;
32 using OpenSim.Services.Interfaces;
33 using OpenSim.Framework.ServiceAuth;
34 using OpenSim.Framework.Servers.HttpServer;
35 using OpenSim.Server.Handlers.Base;
37 namespace OpenSim.Server.Handlers.AgentPreferences
42 private string m_ConfigName =
"AgentPreferencesService";
45 base(config, server, configName)
47 IConfig serverConfig = config.Configs[m_ConfigName];
48 if (serverConfig == null)
49 throw new Exception(String.Format(
"No section {0} in config file", m_ConfigName));
51 string service = serverConfig.GetString(
"LocalServiceModule", String.Empty);
53 if (String.IsNullOrWhiteSpace(service))
54 throw new Exception(
"No LocalServiceModule in config file");
56 Object[] args =
new Object[] { config };
59 IServiceAuth auth = ServiceAuth.Create(config, m_ConfigName); ;
AgentPreferencesServiceConnector(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.