29 using System.Collections.Generic;
30 using System.Reflection;
32 using OpenSim.Framework;
33 using OpenSim.Server.Base;
34 using OpenSim.Services.Interfaces;
35 using OpenSim.Framework.Servers.HttpServer;
36 using OpenSim.Server.Handlers.Base;
40 namespace OpenSim.Server.Handlers.Hypergrid
51 get {
return m_GatekeeperService; }
57 base(config, server, String.Empty)
59 IConfig gridConfig = config.Configs[
"GatekeeperService"];
60 if (gridConfig != null)
62 string serviceDll = gridConfig.GetString(
"LocalServiceModule", string.Empty);
63 Object[] args =
new Object[] { config, simService };
67 if (m_GatekeeperService == null)
68 throw new Exception(
"Gatekeeper server connector cannot proceed because of missing service");
70 m_Proxy = gridConfig.GetBoolean(
"HasProxy",
false);
73 server.AddXmlRPCHandler(
"link_region", hghandlers.LinkRegionRequest,
false);
74 server.AddXmlRPCHandler(
"get_region", hghandlers.GetRegion,
false);
85 : this(config, server, String.Empty)
GatekeeperServiceInConnector(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.
GatekeeperServiceInConnector(IConfigSource config, IHttpServer server)
GatekeeperServiceInConnector(IConfigSource config, IHttpServer server, ISimulationService simService)