diff options
author | lbsa71 | 2007-07-02 20:44:39 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-02 20:44:39 +0000 |
commit | 71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa (patch) | |
tree | 295a9c854097b3be6d430a019cc2489e138ad93a /OpenSim/Region | |
parent | Applied Darok's PhysicsVector ToString patch (diff) | |
download | opensim-SC-71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa.zip opensim-SC-71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa.tar.gz opensim-SC-71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa.tar.bz2 opensim-SC-71f1b2d87803e4fb3a0fb5a12d1e9a2f4287b6fa.tar.xz |
* Added conceptual LlsdMethod Demo to SimpleApp (work in progress)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj | 6 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build | 1 |
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; | |||
17 | using System.Net; | 17 | using System.Net; |
18 | using libsecondlife.Packets; | 18 | using libsecondlife.Packets; |
19 | using OpenSim.Physics.Manager; | 19 | using OpenSim.Physics.Manager; |
20 | using OpenSim.Region.Capabilities; | ||
20 | 21 | ||
21 | namespace SimpleApp | 22 | namespace 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" /> |