aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-05-23 06:05:20 +0000
committerAdam Frisby2009-05-23 06:05:20 +0000
commit31baeef469d72a9dc13cf4f56392b9f740f71cba (patch)
treeac50806ced72c5b296645bf061a3d9176a41075c /OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs
parent* Breaks OpenSim.. err I mean.. adds NAT translation support to EnableSimulat... (diff)
downloadopensim-SC_OLD-31baeef469d72a9dc13cf4f56392b9f740f71cba.zip
opensim-SC_OLD-31baeef469d72a9dc13cf4f56392b9f740f71cba.tar.gz
opensim-SC_OLD-31baeef469d72a9dc13cf4f56392b9f740f71cba.tar.bz2
opensim-SC_OLD-31baeef469d72a9dc13cf4f56392b9f740f71cba.tar.xz
* Pipes requestors IP address through all XmlRpcRequest delegates. This is needed to be able to 'NAT-wrap' the login sequence.
* If you have something using XmlRpc that isn't in core, change your method signature from: (XmlRpcRequest request) to: (XmlRpcRequest request, IPEndPoint remoteClient)
Diffstat (limited to 'OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs')
-rw-r--r--OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs b/OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs
index 62d8f4b..8462103 100644
--- a/OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs
+++ b/OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs
@@ -28,6 +28,7 @@
28using System; 28using System;
29using System.Collections; 29using System.Collections;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Net;
31using System.Reflection; 32using System.Reflection;
32using log4net; 33using log4net;
33using Nini.Config; 34using Nini.Config;
@@ -419,7 +420,7 @@ namespace OpenSim.Region.ReplaceableModules.MoneyModule
419 /// <summary> 420 /// <summary>
420 /// XMLRPC handler to send alert message and sound to client 421 /// XMLRPC handler to send alert message and sound to client
421 /// </summary> 422 /// </summary>
422 public XmlRpcResponse UserAlert(XmlRpcRequest request) 423 public XmlRpcResponse UserAlert(XmlRpcRequest request, IPEndPoint remoteClient)
423 { 424 {
424 XmlRpcResponse ret = new XmlRpcResponse(); 425 XmlRpcResponse ret = new XmlRpcResponse();
425 Hashtable retparam = new Hashtable(); 426 Hashtable retparam = new Hashtable();
@@ -469,7 +470,7 @@ namespace OpenSim.Region.ReplaceableModules.MoneyModule
469 470
470 # region Standalone box enablers only 471 # region Standalone box enablers only
471 472
472 public XmlRpcResponse quote_func(XmlRpcRequest request) 473 public XmlRpcResponse quote_func(XmlRpcRequest request, IPEndPoint remoteClient)
473 { 474 {
474 // Hashtable requestData = (Hashtable) request.Params[0]; 475 // Hashtable requestData = (Hashtable) request.Params[0];
475 // UUID agentId = UUID.Zero; 476 // UUID agentId = UUID.Zero;
@@ -493,7 +494,7 @@ namespace OpenSim.Region.ReplaceableModules.MoneyModule
493 494
494 } 495 }
495 496
496 public XmlRpcResponse buy_func(XmlRpcRequest request) 497 public XmlRpcResponse buy_func(XmlRpcRequest request, IPEndPoint remoteClient)
497 { 498 {
498 // Hashtable requestData = (Hashtable) request.Params[0]; 499 // Hashtable requestData = (Hashtable) request.Params[0];
499 // UUID agentId = UUID.Zero; 500 // UUID agentId = UUID.Zero;
@@ -506,7 +507,7 @@ namespace OpenSim.Region.ReplaceableModules.MoneyModule
506 return returnval; 507 return returnval;
507 } 508 }
508 509
509 public XmlRpcResponse preflightBuyLandPrep_func(XmlRpcRequest request) 510 public XmlRpcResponse preflightBuyLandPrep_func(XmlRpcRequest request, IPEndPoint remoteClient)
510 { 511 {
511 XmlRpcResponse ret = new XmlRpcResponse(); 512 XmlRpcResponse ret = new XmlRpcResponse();
512 Hashtable retparam = new Hashtable(); 513 Hashtable retparam = new Hashtable();
@@ -541,7 +542,7 @@ namespace OpenSim.Region.ReplaceableModules.MoneyModule
541 return ret; 542 return ret;
542 } 543 }
543 544
544 public XmlRpcResponse landBuy_func(XmlRpcRequest request) 545 public XmlRpcResponse landBuy_func(XmlRpcRequest request, IPEndPoint remoteClient)
545 { 546 {
546 XmlRpcResponse ret = new XmlRpcResponse(); 547 XmlRpcResponse ret = new XmlRpcResponse();
547 Hashtable retparam = new Hashtable(); 548 Hashtable retparam = new Hashtable();