diff options
author | lbsa71 | 2007-07-03 07:06:08 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-03 07:06:08 +0000 |
commit | 73a5ec391aa5600cb779044fbf335ce0537e9500 (patch) | |
tree | 9df98727f377806ab6e5afdabc3299cfa03a178b /OpenSim/Framework | |
parent | You can now substitute %name% in the filename argument for terrain save & loa... (diff) | |
download | opensim-SC_OLD-73a5ec391aa5600cb779044fbf335ce0537e9500.zip opensim-SC_OLD-73a5ec391aa5600cb779044fbf335ce0537e9500.tar.gz opensim-SC_OLD-73a5ec391aa5600cb779044fbf335ce0537e9500.tar.bz2 opensim-SC_OLD-73a5ec391aa5600cb779044fbf335ce0537e9500.tar.xz |
* Completed conceptual LlsdMethod - everything resides in SimpleApp pending guru approval.
Diffstat (limited to 'OpenSim/Framework')
4 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/ILlsdMethodHandler.cs b/OpenSim/Framework/Servers/ILlsdMethodHandler.cs new file mode 100644 index 0000000..f5daa8d --- /dev/null +++ b/OpenSim/Framework/Servers/ILlsdMethodHandler.cs | |||
@@ -0,0 +1,13 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Framework.Servers | ||
6 | { | ||
7 | public interface ILlsdMethodHandler | ||
8 | { | ||
9 | string Handle(string request, string path); | ||
10 | } | ||
11 | |||
12 | |||
13 | } | ||
diff --git a/OpenSim/Framework/Servers/LlsdMethod.cs b/OpenSim/Framework/Servers/LlsdMethod.cs index c66873f..bf58a71 100644 --- a/OpenSim/Framework/Servers/LlsdMethod.cs +++ b/OpenSim/Framework/Servers/LlsdMethod.cs | |||
@@ -4,6 +4,5 @@ using System.Text; | |||
4 | 4 | ||
5 | namespace OpenSim.Framework.Servers | 5 | namespace OpenSim.Framework.Servers |
6 | { | 6 | { |
7 | public delegate object LlsdMethod(object request, string path, string param); | ||
8 | public delegate TResponse LlsdMethod<TResponse, TRequest>( TRequest request ); | 7 | public delegate TResponse LlsdMethod<TResponse, TRequest>( TRequest request ); |
9 | } | 8 | } |
diff --git a/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj index 38d611e..909bd62 100644 --- a/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj +++ b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.csproj | |||
@@ -96,6 +96,9 @@ | |||
96 | <Compile Include="CheckSumServer.cs"> | 96 | <Compile Include="CheckSumServer.cs"> |
97 | <SubType>Code</SubType> | 97 | <SubType>Code</SubType> |
98 | </Compile> | 98 | </Compile> |
99 | <Compile Include="ILlsdMethodHandler.cs"> | ||
100 | <SubType>Code</SubType> | ||
101 | </Compile> | ||
99 | <Compile Include="LlsdMethod.cs"> | 102 | <Compile Include="LlsdMethod.cs"> |
100 | <SubType>Code</SubType> | 103 | <SubType>Code</SubType> |
101 | </Compile> | 104 | </Compile> |
diff --git a/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build index 6640a29..22d98dc 100644 --- a/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build +++ b/OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build | |||
@@ -13,6 +13,7 @@ | |||
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="BaseHttpServer.cs" /> | 14 | <include name="BaseHttpServer.cs" /> |
15 | <include name="CheckSumServer.cs" /> | 15 | <include name="CheckSumServer.cs" /> |
16 | <include name="ILlsdMethodHandler.cs" /> | ||
16 | <include name="LlsdMethod.cs" /> | 17 | <include name="LlsdMethod.cs" /> |
17 | <include name="RestMethod.cs" /> | 18 | <include name="RestMethod.cs" /> |
18 | <include name="UDPServerBase.cs" /> | 19 | <include name="UDPServerBase.cs" /> |