From fd2caf5f1673ad14702d89db9804f841c5cb861a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sun, 30 Mar 2008 08:01:47 +0000 Subject: This update has good news and bad news, first the bad. * This update breaks inter-region communications, sorry. * You will need to run prebuild. Next, the good; * This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa. So Linux Simulators and Windows simulators are 100% compatible again. * This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border. If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost. That being said, it's best to update all your simulators to this revision at once. --- OpenSim/Framework/RegionInfo.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'OpenSim/Framework/RegionInfo.cs') diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index fc6da57..095740d 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs @@ -101,6 +101,12 @@ namespace OpenSim.Framework public bool m_allow_alternate_ports; protected string m_serverURI; + + public int getInternalEndPointPort() + { + return m_internalEndPoint.Port; + } + public string ServerURI { get @@ -279,6 +285,17 @@ namespace OpenSim.Framework RegionID = LLUUID.Zero; ServerURI = ConvertFrom.ServerURI; } + public int getInternalEndPointPort() + { + return m_internalEndPoint.Port; + } + public void SetEndPoint(string ipaddr, int port) + { + IPAddress tmpIP = IPAddress.Parse(ipaddr); + IPEndPoint tmpEPE= new IPEndPoint(tmpIP, port); + m_internalEndPoint = tmpEPE; + + } //not in use, should swap to nini though. public void LoadFromNiniSource(IConfigSource source) -- cgit v1.1