diff options
Diffstat (limited to '')
-rw-r--r-- | Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs b/Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs index 6b923f6..928215e 100644 --- a/Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs +++ b/Common/OpenGrid.Framework.Communications/LocalBackEndServices.cs | |||
@@ -96,6 +96,20 @@ namespace OpenGrid.Framework.Communications | |||
96 | } | 96 | } |
97 | 97 | ||
98 | /// <summary> | 98 | /// <summary> |
99 | /// | ||
100 | /// </summary> | ||
101 | /// <param name="regionHandle"></param> | ||
102 | /// <returns></returns> | ||
103 | public RegionInfo RequestNeighbourInfo(ulong regionHandle) | ||
104 | { | ||
105 | if (this.regions.ContainsKey(regionHandle)) | ||
106 | { | ||
107 | return this.regions[regionHandle]; | ||
108 | } | ||
109 | return null; | ||
110 | } | ||
111 | |||
112 | /// <summary> | ||
99 | /// </summary> | 113 | /// </summary> |
100 | /// <param name="regionHandle"></param> | 114 | /// <param name="regionHandle"></param> |
101 | /// <param name="agentData"></param> | 115 | /// <param name="agentData"></param> |
@@ -113,6 +127,24 @@ namespace OpenGrid.Framework.Communications | |||
113 | } | 127 | } |
114 | 128 | ||
115 | /// <summary> | 129 | /// <summary> |
130 | /// | ||
131 | /// </summary> | ||
132 | /// <param name="regionHandle"></param> | ||
133 | /// <param name="agentID"></param> | ||
134 | /// <param name="position"></param> | ||
135 | /// <returns></returns> | ||
136 | public bool ExpectAvatarCrossing(ulong regionHandle, libsecondlife.LLUUID agentID, libsecondlife.LLVector3 position) | ||
137 | { | ||
138 | if (this.regionHosts.ContainsKey(regionHandle)) | ||
139 | { | ||
140 | // Console.WriteLine("CommsManager- Informing a region to expect avatar crossing"); | ||
141 | this.regionHosts[regionHandle].ExpectAvatarCrossing(regionHandle, agentID, position); | ||
142 | return true; | ||
143 | } | ||
144 | return false; | ||
145 | } | ||
146 | |||
147 | /// <summary> | ||
116 | /// Is a Sandbox mode method, used by the local Login server to inform a region of a connection user/session | 148 | /// Is a Sandbox mode method, used by the local Login server to inform a region of a connection user/session |
117 | /// </summary> | 149 | /// </summary> |
118 | /// <param name="regionHandle"></param> | 150 | /// <param name="regionHandle"></param> |