diff options
author | Tleiades Hax | 2007-10-26 15:35:17 +0000 |
---|---|---|
committer | Tleiades Hax | 2007-10-26 15:35:17 +0000 |
commit | adf4a3b9fd06068a20706d8b51d5ec6cd150a55d (patch) | |
tree | 813fe39407b489f7e962578a62b31c2e415a5a7f /OpenSim/Region/Communications/OGS1 | |
parent | Temporary fix for a missing Opensim.ini file. (diff) | |
download | opensim-SC-adf4a3b9fd06068a20706d8b51d5ec6cd150a55d.zip opensim-SC-adf4a3b9fd06068a20706d8b51d5ec6cd150a55d.tar.gz opensim-SC-adf4a3b9fd06068a20706d8b51d5ec6cd150a55d.tar.bz2 opensim-SC-adf4a3b9fd06068a20706d8b51d5ec6cd150a55d.tar.xz |
Added method to create default config file in region server(OpenSim) following along the same priciples as in the other servers.
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 9e74148..7a74165 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -89,7 +89,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
89 | GridParams["region_locy"] = regionInfo.RegionLocY.ToString(); | 89 | GridParams["region_locy"] = regionInfo.RegionLocY.ToString(); |
90 | GridParams["sim_name"] = regionInfo.RegionName; | 90 | GridParams["sim_name"] = regionInfo.RegionName; |
91 | GridParams["http_port"] = serversInfo.HttpListenerPort.ToString(); | 91 | GridParams["http_port"] = serversInfo.HttpListenerPort.ToString(); |
92 | GridParams["remoting_port"] = serversInfo.RemotingListenerPort.ToString(); | 92 | GridParams["remoting_port"] = NetworkServersInfo.RemotingListenerPort.ToString(); |
93 | GridParams["map-image-id"] = regionInfo.EstateSettings.terrainImageID.ToStringHyphenated(); | 93 | GridParams["map-image-id"] = regionInfo.EstateSettings.terrainImageID.ToStringHyphenated(); |
94 | 94 | ||
95 | // Package into an XMLRPC Request | 95 | // Package into an XMLRPC Request |
@@ -336,7 +336,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
336 | /// </summary> | 336 | /// </summary> |
337 | private void StartRemoting() | 337 | private void StartRemoting() |
338 | { | 338 | { |
339 | TcpChannel ch = new TcpChannel(this.serversInfo.RemotingListenerPort); | 339 | TcpChannel ch = new TcpChannel(NetworkServersInfo.RemotingListenerPort); |
340 | ChannelServices.RegisterChannel(ch, false); // Disabled security as Mono doesnt support this. | 340 | ChannelServices.RegisterChannel(ch, false); // Disabled security as Mono doesnt support this. |
341 | 341 | ||
342 | WellKnownServiceTypeEntry wellType = new WellKnownServiceTypeEntry(typeof(OGS1InterRegionRemoting), "InterRegions", WellKnownObjectMode.Singleton); | 342 | WellKnownServiceTypeEntry wellType = new WellKnownServiceTypeEntry(typeof(OGS1InterRegionRemoting), "InterRegions", WellKnownObjectMode.Singleton); |