diff options
author | MW | 2007-05-31 13:45:18 +0000 |
---|---|---|
committer | MW | 2007-05-31 13:45:18 +0000 |
commit | ee5bd67b82f2fae77477b22765ba830e29ce4fd3 (patch) | |
tree | 865f82fc245ef061b636f7da6b3e9b15ee5fb4ca /Common | |
parent | (no commit message) (diff) | |
download | opensim-SC-ee5bd67b82f2fae77477b22765ba830e29ce4fd3.zip opensim-SC-ee5bd67b82f2fae77477b22765ba830e29ce4fd3.tar.gz opensim-SC-ee5bd67b82f2fae77477b22765ba830e29ce4fd3.tar.bz2 opensim-SC-ee5bd67b82f2fae77477b22765ba830e29ce4fd3.tar.xz |
Diffstat (limited to 'Common')
3 files changed, 88 insertions, 0 deletions
diff --git a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj b/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj index 80297f3..836ab7e 100644 --- a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj +++ b/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj | |||
@@ -39,6 +39,7 @@ | |||
39 | <ItemGroup> | 39 | <ItemGroup> |
40 | <Compile Include="RegionServerCommsManager.cs" /> | 40 | <Compile Include="RegionServerCommsManager.cs" /> |
41 | <Compile Include="Properties\AssemblyInfo.cs" /> | 41 | <Compile Include="Properties\AssemblyInfo.cs" /> |
42 | <Compile Include="TestLocalCommsManager.cs" /> | ||
42 | </ItemGroup> | 43 | </ItemGroup> |
43 | <ItemGroup> | 44 | <ItemGroup> |
44 | <ProjectReference Include="..\OpenSim.Framework\OpenSim.Framework.csproj"> | 45 | <ProjectReference Include="..\OpenSim.Framework\OpenSim.Framework.csproj"> |
diff --git a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs index 4f42f8b..9767185 100644 --- a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs +++ b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs | |||
@@ -1,4 +1,5 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections; | ||
2 | using System.Collections.Generic; | 3 | using System.Collections.Generic; |
3 | using System.Text; | 4 | using System.Text; |
4 | using OpenSim.Framework; | 5 | using OpenSim.Framework; |
@@ -62,5 +63,14 @@ namespace OpenGrid.Framework.Communications | |||
62 | { | 63 | { |
63 | return false; | 64 | return false; |
64 | } | 65 | } |
66 | |||
67 | /// <summary> | ||
68 | /// | ||
69 | /// </summary> | ||
70 | /// <returns></returns> | ||
71 | public virtual IList RequestMapBlocks() | ||
72 | { | ||
73 | return null; | ||
74 | } | ||
65 | } | 75 | } |
66 | } | 76 | } |
diff --git a/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs b/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs new file mode 100644 index 0000000..32f4718 --- /dev/null +++ b/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs | |||
@@ -0,0 +1,77 @@ | |||
1 | using System; | ||
2 | using System.Collections; | ||
3 | using System.Collections.Generic; | ||
4 | using System.Text; | ||
5 | using libsecondlife; | ||
6 | using OpenSim.Framework; | ||
7 | using OpenSim.Framework.Interfaces; | ||
8 | using OpenSim.Framework.Types; | ||
9 | |||
10 | namespace OpenGrid.Framework.Communications | ||
11 | { | ||
12 | public class TestLocalCommsManager : RegionServerCommsManager | ||
13 | { | ||
14 | protected Dictionary<uint , RegionInfo> regions = new Dictionary<uint,RegionInfo>(); | ||
15 | |||
16 | public TestLocalCommsManager() | ||
17 | { | ||
18 | |||
19 | } | ||
20 | |||
21 | /// <summary> | ||
22 | /// | ||
23 | /// </summary> | ||
24 | /// <returns></returns> | ||
25 | public override RegionInfo LoadRegionConfigFromGridServer(LLUUID regionID) | ||
26 | { | ||
27 | return null; | ||
28 | } | ||
29 | |||
30 | /// <summary> | ||
31 | /// | ||
32 | /// </summary> | ||
33 | /// <param name="regionInfo"></param> | ||
34 | /// <returns></returns> | ||
35 | public override IRegionCommsHost RegisterRegion(RegionInfo regionInfo) | ||
36 | { | ||
37 | return null; | ||
38 | } | ||
39 | |||
40 | /// <summary> | ||
41 | /// | ||
42 | /// </summary> | ||
43 | /// <param name="regionInfo"></param> | ||
44 | /// <returns></returns> | ||
45 | public override List<RegionInfo> RequestNeighbours(RegionInfo regionInfo) | ||
46 | { | ||
47 | return null; | ||
48 | } | ||
49 | |||
50 | /// <summary> | ||
51 | /// | ||
52 | /// </summary> | ||
53 | /// <returns></returns> | ||
54 | public override bool InformNeighbourOfChildAgent(uint regionHandle, AgentCircuitData agentData) //should change from agentCircuitData | ||
55 | { | ||
56 | return false; | ||
57 | } | ||
58 | |||
59 | /// <summary> | ||
60 | /// | ||
61 | /// </summary> | ||
62 | /// <returns></returns> | ||
63 | public override bool AvatarCrossingToRegion() | ||
64 | { | ||
65 | return false; | ||
66 | } | ||
67 | |||
68 | /// <summary> | ||
69 | /// | ||
70 | /// </summary> | ||
71 | /// <returns></returns> | ||
72 | public override IList RequestMapBlocks() | ||
73 | { | ||
74 | return null; | ||
75 | } | ||
76 | } | ||
77 | } | ||