aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.AssetServer/Main.cs
diff options
context:
space:
mode:
authorgareth2007-04-30 02:53:06 +0000
committergareth2007-04-30 02:53:06 +0000
commit428cf885267c61bba23dcba825fec350b468aa65 (patch)
treeec8a21d608f058dbc34634444a704e64521987aa /OpenGridServices.AssetServer/Main.cs
parentDone some more conversion work on the asset server (diff)
downloadopensim-SC_OLD-428cf885267c61bba23dcba825fec350b468aa65.zip
opensim-SC_OLD-428cf885267c61bba23dcba825fec350b468aa65.tar.gz
opensim-SC_OLD-428cf885267c61bba23dcba825fec350b468aa65.tar.bz2
opensim-SC_OLD-428cf885267c61bba23dcba825fec350b468aa65.tar.xz
Oops! I done an AdamZaius (forgot to test build before submit
Diffstat (limited to 'OpenGridServices.AssetServer/Main.cs')
-rw-r--r--OpenGridServices.AssetServer/Main.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenGridServices.AssetServer/Main.cs b/OpenGridServices.AssetServer/Main.cs
index 473c483..3fab84b 100644
--- a/OpenGridServices.AssetServer/Main.cs
+++ b/OpenGridServices.AssetServer/Main.cs
@@ -40,6 +40,8 @@ using OpenSim.Framework.Console;
40using OpenSim.Framework.Interfaces; 40using OpenSim.Framework.Interfaces;
41using OpenSim.GridInterfaces.Local; // REFACTORING IS NEEDED!!!!!!!!!!! 41using OpenSim.GridInterfaces.Local; // REFACTORING IS NEEDED!!!!!!!!!!!
42using OpenSim.Servers; 42using OpenSim.Servers;
43using Db4objects.Db4o;
44using Db4objects.Db4o.Query;
43 45
44namespace OpenGridServices.AssetServer 46namespace OpenGridServices.AssetServer
45{ 47{
@@ -94,12 +96,16 @@ namespace OpenGridServices.AssetServer
94 httpServer.AddRestHandler("POST", "/sims/", m_simProfileManager.RestSetSimMethod); 96 httpServer.AddRestHandler("POST", "/sims/", m_simProfileManager.RestSetSimMethod);
95 httpServer.AddRestHandler("GET", "/regions/", m_simProfileManager.RestGetRegionMethod); 97 httpServer.AddRestHandler("GET", "/regions/", m_simProfileManager.RestGetRegionMethod);
96 httpServer.AddRestHandler("POST", "/regions/", m_simProfileManager.RestSetRegionMethod); */ 98 httpServer.AddRestHandler("POST", "/regions/", m_simProfileManager.RestSetRegionMethod); */
97 httpServer.AddRestHAndler("GET", "/assets/", this.assetGetMethod); 99 httpServer.AddRestHandler("GET", "/assets/", this.assetGetMethod);
98 100
99 101
100 httpServer.Start(); 102 httpServer.Start();
101 103
102 } 104 }
105
106 public string assetGetMethod(string request, string path, string param) {
107 return "";
108 }
103 109
104 /*private GridConfig LoadConfigDll(string dllName) 110 /*private GridConfig LoadConfigDll(string dllName)
105 { 111 {