Oops! I done an AdamZaius (forgot to test build before submit

0.1-prestable
gareth 2007-04-30 02:53:06 +00:00
parent 002336e95c
commit 428cf88526
1 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,8 @@ using OpenSim.Framework.Console;
using OpenSim.Framework.Interfaces; using OpenSim.Framework.Interfaces;
using OpenSim.GridInterfaces.Local; // REFACTORING IS NEEDED!!!!!!!!!!! using OpenSim.GridInterfaces.Local; // REFACTORING IS NEEDED!!!!!!!!!!!
using OpenSim.Servers; using OpenSim.Servers;
using Db4objects.Db4o;
using Db4objects.Db4o.Query;
namespace OpenGridServices.AssetServer namespace OpenGridServices.AssetServer
{ {
@ -94,13 +96,17 @@ namespace OpenGridServices.AssetServer
httpServer.AddRestHandler("POST", "/sims/", m_simProfileManager.RestSetSimMethod); httpServer.AddRestHandler("POST", "/sims/", m_simProfileManager.RestSetSimMethod);
httpServer.AddRestHandler("GET", "/regions/", m_simProfileManager.RestGetRegionMethod); httpServer.AddRestHandler("GET", "/regions/", m_simProfileManager.RestGetRegionMethod);
httpServer.AddRestHandler("POST", "/regions/", m_simProfileManager.RestSetRegionMethod); */ httpServer.AddRestHandler("POST", "/regions/", m_simProfileManager.RestSetRegionMethod); */
httpServer.AddRestHAndler("GET", "/assets/", this.assetGetMethod); httpServer.AddRestHandler("GET", "/assets/", this.assetGetMethod);
httpServer.Start(); httpServer.Start();
} }
public string assetGetMethod(string request, string path, string param) {
return "";
}
/*private GridConfig LoadConfigDll(string dllName) /*private GridConfig LoadConfigDll(string dllName)
{ {
Assembly pluginAssembly = Assembly.LoadFrom(dllName); Assembly pluginAssembly = Assembly.LoadFrom(dllName);