aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/InterGrid
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-08-25 21:35:22 +0000
committerJustin Clarke Casey2008-08-25 21:35:22 +0000
commit3d2069f3d9cd01ec948563c64bd4f8ddd9d0167f (patch)
treec114cea9e8230bcebf273bc87504fc82c0637b6e /OpenSim/Region/Environment/Modules/InterGrid
parent* Deal with a WebException thrown if a grid server cannot be contacted for re... (diff)
downloadopensim-SC_OLD-3d2069f3d9cd01ec948563c64bd4f8ddd9d0167f.zip
opensim-SC_OLD-3d2069f3d9cd01ec948563c64bd4f8ddd9d0167f.tar.gz
opensim-SC_OLD-3d2069f3d9cd01ec948563c64bd4f8ddd9d0167f.tar.bz2
opensim-SC_OLD-3d2069f3d9cd01ec948563c64bd4f8ddd9d0167f.tar.xz
* zap compilation warnings
Diffstat (limited to 'OpenSim/Region/Environment/Modules/InterGrid')
-rw-r--r--OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs44
1 files changed, 22 insertions, 22 deletions
diff --git a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs
index 746828a..ab6fe75 100644
--- a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs
+++ b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs
@@ -206,8 +206,8 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
206 206
207 RegionInfo reg = homeScene.RegionInfo; 207 RegionInfo reg = homeScene.RegionInfo;
208 ulong regionhandle = GetOSCompatibleRegionHandle(reg); 208 ulong regionhandle = GetOSCompatibleRegionHandle(reg);
209 string RegionURI = reg.ServerURI; 209 //string RegionURI = reg.ServerURI;
210 int RegionPort = (int)reg.HttpPort; 210 //int RegionPort = (int)reg.HttpPort;
211 211
212 LLUUID RemoteAgentID = requestMap["agent_id"].AsUUID(); 212 LLUUID RemoteAgentID = requestMap["agent_id"].AsUUID();
213 213
@@ -325,7 +325,7 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
325 homeScene.NewUserConnection(reg.RegionHandle, agentData); 325 homeScene.NewUserConnection(reg.RegionHandle, agentData);
326 326
327 327
328 string raCap = string.Empty; 328 //string raCap = string.Empty;
329 329
330 LLUUID AvatarRezCapUUID = LLUUID.Random(); 330 LLUUID AvatarRezCapUUID = LLUUID.Random();
331 string rezAvatarPath = "/agent/" + AvatarRezCapUUID + "/rez_avatar"; 331 string rezAvatarPath = "/agent/" + AvatarRezCapUUID + "/rez_avatar";
@@ -474,7 +474,7 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
474 474
475 m_log.ErrorFormat("DerezPath: {0}, Request: {1}", path, request.ToString()); 475 m_log.ErrorFormat("DerezPath: {0}, Request: {1}", path, request.ToString());
476 476
477 LLSD llsdResponse = null; 477 //LLSD llsdResponse = null;
478 LLSDMap responseMap = new LLSDMap(); 478 LLSDMap responseMap = new LLSDMap();
479 479
480 480
@@ -497,7 +497,7 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
497 if (userState.agent_id != LLUUID.Zero) 497 if (userState.agent_id != LLUUID.Zero)
498 { 498 {
499 499
500 LLSDMap outboundRequestMap = new LLSDMap(); 500 //LLSDMap outboundRequestMap = new LLSDMap();
501 LLSDMap inboundRequestMap = (LLSDMap)request; 501 LLSDMap inboundRequestMap = (LLSDMap)request;
502 string rezAvatarString = inboundRequestMap["rez_avatar"].AsString(); 502 string rezAvatarString = inboundRequestMap["rez_avatar"].AsString();
503 503
@@ -580,7 +580,7 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
580 return GenerateNoHandlerMessage(); 580 return GenerateNoHandlerMessage();
581 } 581 }
582 582
583 return responseMap; 583 //return responseMap;
584 } 584 }
585 585
586 private LLSDMap invokeRezAvatarCap(LLSDMap responseMap, string CapAddress, OGPState userState) 586 private LLSDMap invokeRezAvatarCap(LLSDMap responseMap, string CapAddress, OGPState userState)
@@ -740,30 +740,30 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
740 return Util.UIntsToLong(x, y); 740 return Util.UIntsToLong(x, y);
741 } 741 }
742 742
743 private ulong GetOSCompatibleRegionHandle(ulong regionhandle) 743// private ulong GetOSCompatibleRegionHandle(ulong regionhandle)
744 { 744// {
745 uint x,y; 745// uint x,y;
746 Helpers.LongToUInts(regionhandle,out x, out y); 746// Helpers.LongToUInts(regionhandle,out x, out y);
747 return GetOSCompatibleRegionHandle(x,y); 747// return GetOSCompatibleRegionHandle(x,y);
748 } 748// }
749 749
750 750
751 private ulong GetOGPCompatibleRegionHandle(RegionInfo reg) 751// private ulong GetOGPCompatibleRegionHandle(RegionInfo reg)
752 { 752// {
753 return Util.UIntsToLong((reg.RegionLocX * (uint)Constants.RegionSize), (reg.RegionLocY * (uint)Constants.RegionSize)); 753// return Util.UIntsToLong((reg.RegionLocX * (uint)Constants.RegionSize), (reg.RegionLocY * (uint)Constants.RegionSize));
754 } 754// }
755 755
756 private ulong GetOGPCompatibleRegionHandle(uint x, uint y) 756 private ulong GetOGPCompatibleRegionHandle(uint x, uint y)
757 { 757 {
758 return Util.UIntsToLong((x * (uint)Constants.RegionSize), (y * (uint)Constants.RegionSize)); 758 return Util.UIntsToLong((x * (uint)Constants.RegionSize), (y * (uint)Constants.RegionSize));
759 } 759 }
760 760
761 private ulong GetOGPCompatibleRegionHandle(ulong regionhandle) 761// private ulong GetOGPCompatibleRegionHandle(ulong regionhandle)
762 { 762// {
763 uint x, y; 763// uint x, y;
764 Helpers.LongToUInts(regionhandle, out x, out y); 764// Helpers.LongToUInts(regionhandle, out x, out y);
765 return GetOGPCompatibleRegionHandle(x, y); 765// return GetOGPCompatibleRegionHandle(x, y);
766 } 766// }
767 767
768 private OGPState InitializeNewState() 768 private OGPState InitializeNewState()
769 { 769 {