From 9d989612b0da9c5cc4e33a2f72d13d94116865d1 Mon Sep 17 00:00:00 2001
From: MW
Date: Wed, 11 Jul 2007 14:39:03 +0000
Subject: updated libsecondlife.dll to a 1.18 version (from the libsecondlife
aditi branch, so when they have a trunk version that is 1.18 ready, best to
update again). Started some work on a userProfile/inventory cache.
---
.../Region/Communications/OGS1/OGS1GridServices.cs | 73 ++++++++++++++++++----
1 file changed, 62 insertions(+), 11 deletions(-)
(limited to 'OpenSim/Region/Communications')
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 66c1739..d32976f 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -24,6 +24,11 @@ namespace OpenSim.Region.Communications.OGS1
public NetworkServersInfo serversInfo;
public BaseHttpServer httpServer;
+ ///
+ ///
+ ///
+ ///
+ ///
public OGS1GridServices(NetworkServersInfo servers_info, BaseHttpServer httpServe)
{
serversInfo = servers_info;
@@ -32,6 +37,11 @@ namespace OpenSim.Region.Communications.OGS1
this.StartRemoting();
}
+ ///
+ ///
+ ///
+ ///
+ ///
public RegionCommsListener RegisterRegion(RegionInfo regionInfo)
{
if (!this.regions.ContainsKey((uint)regionInfo.RegionHandle))
@@ -40,8 +50,6 @@ namespace OpenSim.Region.Communications.OGS1
}
Hashtable GridParams = new Hashtable();
-
-
// Login / Authentication
GridParams["authkey"] = serversInfo.GridSendKey;
@@ -74,15 +82,6 @@ namespace OpenSim.Region.Communications.OGS1
return null;
}
- /* if (!this.listeners.ContainsKey(regionInfo.RegionHandle))
- {
- MainLog.Instance.Verbose("OGS1 - Registering new HTTP listener on port " + regionInfo.InternalEndPoint.Port.ToString());
- // initialised = true;
- httpListener = new BaseHttpServer( regionInfo.InternalEndPoint.Port );
- httpListener.AddXmlRPCHandler("expect_user", this.ExpectUser);
- httpListener.Start();
- }*/
-
// Initialise the background listeners
RegionCommsListener regListener = new RegionCommsListener();
if (this.listeners.ContainsKey(regionInfo.RegionHandle))
@@ -97,6 +96,11 @@ namespace OpenSim.Region.Communications.OGS1
return regListener;
}
+ ///
+ ///
+ ///
+ ///
+ ///
public List RequestNeighbours(RegionInfo regionInfo)
{
@@ -136,6 +140,11 @@ namespace OpenSim.Region.Communications.OGS1
return neighbours;
}
+ ///
+ ///
+ ///
+ ///
+ ///
public RegionInfo RequestNeighbourInfo(ulong regionHandle)
{
if (this.regions.ContainsKey(regionHandle))
@@ -179,6 +188,14 @@ namespace OpenSim.Region.Communications.OGS1
return regionInfo;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public List RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY)
{
Hashtable respData = MapBlockQuery(minX, minY, maxX, maxY);
@@ -232,6 +249,11 @@ namespace OpenSim.Region.Communications.OGS1
}
// Grid Request Processing
+ ///
+ ///
+ ///
+ ///
+ ///
public XmlRpcResponse ExpectUser(XmlRpcRequest request)
{
Console.WriteLine("Expecting User...");
@@ -269,6 +291,9 @@ namespace OpenSim.Region.Communications.OGS1
}
#region InterRegion Comms
+ ///
+ ///
+ ///
private void StartRemoting()
{
TcpChannel ch = new TcpChannel(this.serversInfo.RemotingListenerPort);
@@ -281,6 +306,12 @@ namespace OpenSim.Region.Communications.OGS1
}
#region Methods called by regions in this instance
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData)
{
if (this.listeners.ContainsKey(regionHandle))
@@ -316,6 +347,13 @@ namespace OpenSim.Region.Communications.OGS1
return false;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position)
{
if (this.listeners.ContainsKey(regionHandle))
@@ -353,6 +391,12 @@ namespace OpenSim.Region.Communications.OGS1
#endregion
#region Methods triggered by calls from external instances
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool IncomingChildAgent(ulong regionHandle, AgentCircuitData agentData)
{
if (this.listeners.ContainsKey(regionHandle))
@@ -363,6 +407,13 @@ namespace OpenSim.Region.Communications.OGS1
return false;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position)
{
if (this.listeners.ContainsKey(regionHandle))
--
cgit v1.1