diff options
Diffstat (limited to 'OpenSim/Framework/UserManager/CAPSService.cs')
-rw-r--r-- | OpenSim/Framework/UserManager/CAPSService.cs | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/OpenSim/Framework/UserManager/CAPSService.cs b/OpenSim/Framework/UserManager/CAPSService.cs index 39af140..a8eac26 100644 --- a/OpenSim/Framework/UserManager/CAPSService.cs +++ b/OpenSim/Framework/UserManager/CAPSService.cs | |||
@@ -1,38 +1,38 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections; | 2 | using System.Collections; |
3 | using System.Collections.Generic; | 3 | using System.Collections.Generic; |
4 | using System.Reflection; | 4 | using System.Reflection; |
5 | using System.Security.Cryptography; | 5 | using System.Security.Cryptography; |
6 | using libsecondlife; | 6 | using libsecondlife; |
7 | using Nwc.XmlRpc; | 7 | using Nwc.XmlRpc; |
8 | using OpenSim.Framework.Console; | 8 | using OpenSim.Framework.Console; |
9 | using OpenSim.Framework.Data; | 9 | using OpenSim.Framework.Data; |
10 | using OpenSim.Framework.Interfaces; | 10 | using OpenSim.Framework.Interfaces; |
11 | using OpenSim.Framework.Inventory; | 11 | using OpenSim.Framework.Inventory; |
12 | using OpenSim.Framework.Utilities; | 12 | using OpenSim.Framework.Utilities; |
13 | using OpenSim.Framework.Servers; | 13 | using OpenSim.Framework.Servers; |
14 | 14 | ||
15 | namespace OpenSim.Framework.UserManagement | 15 | namespace OpenSim.Framework.UserManagement |
16 | { | 16 | { |
17 | public class CAPSService | 17 | public class CAPSService |
18 | { | 18 | { |
19 | private BaseHttpServer m_server; | 19 | private BaseHttpServer m_server; |
20 | 20 | ||
21 | public CAPSService(BaseHttpServer httpServer) | 21 | public CAPSService(BaseHttpServer httpServer) |
22 | { | 22 | { |
23 | m_server = httpServer; | 23 | m_server = httpServer; |
24 | this.AddCapsSeedHandler("/CapsSeed/", CapsRequest); | 24 | this.AddCapsSeedHandler("/CapsSeed/", CapsRequest); |
25 | } | 25 | } |
26 | 26 | ||
27 | private void AddCapsSeedHandler(string path, RestMethod restMethod) | 27 | private void AddCapsSeedHandler(string path, RestMethod restMethod) |
28 | { | 28 | { |
29 | m_server.AddStreamHandler(new RestStreamHandler("POST", path, restMethod)); | 29 | m_server.AddStreamHandler(new RestStreamHandler("POST", path, restMethod)); |
30 | } | 30 | } |
31 | 31 | ||
32 | public string CapsRequest(string request, string path, string param) | 32 | public string CapsRequest(string request, string path, string param) |
33 | { | 33 | { |
34 | System.Console.WriteLine("new caps request " + request +" from path "+ path); | 34 | System.Console.WriteLine("new caps request " + request +" from path "+ path); |
35 | return ""; | 35 | return ""; |
36 | } | 36 | } |
37 | } | 37 | } |
38 | } | 38 | } |