diff options
Diffstat (limited to 'Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs')
-rw-r--r-- | Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs | 77 |
1 files changed, 77 insertions, 0 deletions
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 | } | ||