From 4a07038bbe616d05fbb3dfad79ec72a3169de589 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 14 May 2008 19:13:54 +0000 Subject: From: Dr Scofield the attached patch set adds the (still work-in-progress but already working) RestPlugin base class and the RestRegionPlugin code. we are using XML serialization. currently working: GET /admin/regions/ -> returns UUID list of known regions GET /admin/regions/ -> returns detailed region information we'll be adding support for POST/DELETE/PUT and also for /admin/regions//name etc. --- OpenSim/Region/Application/OpenSimMain.cs | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 639e3c2..bae7819 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -90,35 +90,40 @@ namespace OpenSim private string m_standaloneUserSource; protected string m_assetStorage = "local"; - + public ConsoleCommand CreateAccount = null; protected bool m_dumpAssetsToFile; - + protected List m_plugins = new List(); protected IniConfigSource m_config; - + public IniConfigSource ConfigSource { get { return m_config; } set { m_config = value; } } - - public BaseHttpServer HttpServer - { - get { return m_httpServer; } - } - + public List ClientServers { get { return m_clientServers; } } - + public List RegionData { get { return m_regionData; } } - + + public new BaseHttpServer HttpServer + { + get { return m_httpServer; } + } + + public new uint HttpServerPort + { + get { return m_httpServerPort; } + } + protected ModuleLoader m_moduleLoader; public ModuleLoader ModuleLoader -- cgit v1.1