aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/Program.cs
diff options
context:
space:
mode:
authorlbsa712007-07-02 20:44:39 +0000
committerlbsa712007-07-02 20:44:39 +0000
commit71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa (patch)
tree295a9c854097b3be6d430a019cc2489e138ad93a /OpenSim/Region/Examples/SimpleApp/Program.cs
parentApplied Darok's PhysicsVector ToString patch (diff)
downloadopensim-SC_OLD-71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa.zip
opensim-SC_OLD-71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa.tar.gz
opensim-SC_OLD-71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa.tar.bz2
opensim-SC_OLD-71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa.tar.xz
* Added conceptual LlsdMethod Demo to SimpleApp (work in progress)
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-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);