aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorlbsa712007-07-02 20:44:39 +0000
committerlbsa712007-07-02 20:44:39 +0000
commit71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa (patch)
tree295a9c854097b3be6d430a019cc2489e138ad93a /OpenSim/Region
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')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs7
-rw-r--r--OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj6
-rw-r--r--OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build1
3 files changed, 14 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);
diff --git a/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj
index bb8dcc0..3ed0efc 100644
--- a/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj
+++ b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj
@@ -116,6 +116,12 @@
116 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 116 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
117 <Private>False</Private> 117 <Private>False</Private>
118 </ProjectReference> 118 </ProjectReference>
119 <ProjectReference Include="..\..\Capabilities\OpenSim.Region.Capabilities.csproj">
120 <Name>OpenSim.Region.Capabilities</Name>
121 <Project>{39038E85-0000-0000-0000-000000000000}</Project>
122 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
123 <Private>False</Private>
124 </ProjectReference>
119 <ProjectReference Include="..\..\ClientStack\OpenSim.Region.ClientStack.csproj"> 125 <ProjectReference Include="..\..\ClientStack\OpenSim.Region.ClientStack.csproj">
120 <Name>OpenSim.Region.ClientStack</Name> 126 <Name>OpenSim.Region.ClientStack</Name>
121 <Project>{DC3698B2-0000-0000-0000-000000000000}</Project> 127 <Project>{DC3698B2-0000-0000-0000-000000000000}</Project>
diff --git a/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build b/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build
index aab0826..0c6234a 100644
--- a/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build
+++ b/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build
@@ -27,6 +27,7 @@
27 <include name="../../../../bin/OpenSim.Framework.Servers.dll" /> 27 <include name="../../../../bin/OpenSim.Framework.Servers.dll" />
28 <include name="../../../../bin/OpenSim.Framework.UserManagement.dll" /> 28 <include name="../../../../bin/OpenSim.Framework.UserManagement.dll" />
29 <include name="../../../../bin/OpenSim.Region.Caches.dll" /> 29 <include name="../../../../bin/OpenSim.Region.Caches.dll" />
30 <include name="../../../../bin/OpenSim.Region.Capabilities.dll" />
30 <include name="../../../../bin/OpenSim.Region.ClientStack.dll" /> 31 <include name="../../../../bin/OpenSim.Region.ClientStack.dll" />
31 <include name="../../../../bin/OpenSim.Region.Communications.Local.dll" /> 32 <include name="../../../../bin/OpenSim.Region.Communications.Local.dll" />
32 <include name="../../../../bin/OpenSim.Region.Environment.dll" /> 33 <include name="../../../../bin/OpenSim.Region.Environment.dll" />