aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index 3d9dd0d..2c5fb4d 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -17,6 +17,7 @@ using OpenSim.Region.ClientStack;
17using System.Net; 17using System.Net;
18using libsecondlife.Packets; 18using libsecondlife.Packets;
19using OpenSim.Physics.Manager; 19using OpenSim.Physics.Manager;
20using OpenSim.Region.Capabilities;
20 21
21namespace SimpleApp 22namespace SimpleApp
22{ 23{
@@ -63,6 +64,7 @@ namespace SimpleApp
63 udpServer.LocalWorld = world; 64 udpServer.LocalWorld = world;
64 65
65 httpServer.AddXmlRPCHandler("login_to_simulator", communicationsManager.UserServices.XmlRpcLoginMethod ); 66 httpServer.AddXmlRPCHandler("login_to_simulator", communicationsManager.UserServices.XmlRpcLoginMethod );
67 httpServer.AddLlsdMethod<LLSDMapLayerResponse, LLSDMapRequest>("/Caps/test/", LlsdMethodDemo);
66 httpServer.Start(); 68 httpServer.Start();
67 69
68 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); 70 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit.");
@@ -75,6 +77,11 @@ namespace SimpleApp
75 77
76 } 78 }
77 79
80 private LLSDMapLayerResponse LlsdMethodDemo(LLSDMapRequest request)
81 {
82 return new LLSDMapLayerResponse();
83 }
84
78 private bool AddNewSessionHandler(ulong regionHandle, Login loginData) 85 private bool AddNewSessionHandler(ulong regionHandle, Login loginData)
79 { 86 {
80 m_log.WriteLine(LogPriority.NORMAL, "Region [{0}] recieved Login from [{1}] [{2}]", regionHandle, loginData.First, loginData.Last); 87 m_log.WriteLine(LogPriority.NORMAL, "Region [{0}] recieved Login from [{1}] [{2}]", regionHandle, loginData.First, loginData.Last);