From b43226019a8cf6e54430b7cf335242b5b8d3f813 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 10 Apr 2009 19:27:47 +0000 Subject: Expose the XMLRPC listener port on the IXMLRPC interface to allow publication --- OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs | 5 +++++ OpenSim/Region/Framework/Interfaces/IXMLRPC.cs | 1 + 2 files changed, 6 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs b/OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs index d917adc..c52848d 100644 --- a/OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs @@ -151,6 +151,11 @@ namespace OpenSim.Region.CoreModules.Scripting.XMLRPC get { return true; } } + public int Port + { + get { return m_remoteDataPort; } + } + #endregion #region IXMLRPC Members diff --git a/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs b/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs index d6f9819..f8d0bc8 100644 --- a/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs +++ b/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs @@ -59,5 +59,6 @@ namespace OpenSim.Region.Framework.Interfaces IServiceRequest GetNextCompletedSRDRequest(); void RemoveCompletedSRDRequest(UUID id); void CancelSRDRequests(UUID itemID); + int Port { get; } } } -- cgit v1.1