30 using OpenSim.Server.Base;
31 using OpenSim.Services.Interfaces;
32 using OpenSim.Framework.Servers.HttpServer;
33 using OpenSim.Framework.ServiceAuth;
34 using OpenSim.Server.Handlers.Base;
36 namespace OpenSim.Server.Handlers.Presence
41 private string m_ConfigName =
"PresenceService";
44 base(config, server, configName)
46 IConfig serverConfig = config.Configs[m_ConfigName];
47 if (serverConfig == null)
48 throw new Exception(String.Format(
"No section {0} in config file", m_ConfigName));
50 string gridService = serverConfig.GetString(
"LocalServiceModule",
53 if (gridService == String.Empty)
54 throw new Exception(
"No LocalServiceModule in config file");
56 Object[] args =
new Object[] { config };
57 m_PresenceService = ServerUtils.LoadPlugin<
IPresenceService>(gridService, args);
59 IServiceAuth auth = ServiceAuth.Create(config, m_ConfigName);
PresenceServiceConnector(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