diff options
author | Adam Frisby | 2009-05-23 06:05:20 +0000 |
---|---|---|
committer | Adam Frisby | 2009-05-23 06:05:20 +0000 |
commit | 31baeef469d72a9dc13cf4f56392b9f740f71cba (patch) | |
tree | ac50806ced72c5b296645bf061a3d9176a41075c /OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs | |
parent | * Breaks OpenSim.. err I mean.. adds NAT translation support to EnableSimulat... (diff) | |
download | opensim-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/Grid/UserServer.Modules/MessageServersConnector.cs')
-rw-r--r-- | OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs b/OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs index 330ced2..f326100 100644 --- a/OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs +++ b/OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs | |||
@@ -166,7 +166,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
166 | } | 166 | } |
167 | 167 | ||
168 | } | 168 | } |
169 | public XmlRpcResponse XmlRPCRegisterMessageServer(XmlRpcRequest request) | 169 | public XmlRpcResponse XmlRPCRegisterMessageServer(XmlRpcRequest request, IPEndPoint remoteClient) |
170 | { | 170 | { |
171 | XmlRpcResponse response = new XmlRpcResponse(); | 171 | XmlRpcResponse response = new XmlRpcResponse(); |
172 | Hashtable requestData = (Hashtable)request.Params[0]; | 172 | Hashtable requestData = (Hashtable)request.Params[0]; |
@@ -187,7 +187,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
187 | } | 187 | } |
188 | return response; | 188 | return response; |
189 | } | 189 | } |
190 | public XmlRpcResponse XmlRPCDeRegisterMessageServer(XmlRpcRequest request) | 190 | public XmlRpcResponse XmlRPCDeRegisterMessageServer(XmlRpcRequest request, IPEndPoint remoteClient) |
191 | { | 191 | { |
192 | XmlRpcResponse response = new XmlRpcResponse(); | 192 | XmlRpcResponse response = new XmlRpcResponse(); |
193 | Hashtable requestData = (Hashtable)request.Params[0]; | 193 | Hashtable requestData = (Hashtable)request.Params[0]; |
@@ -203,7 +203,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
203 | } | 203 | } |
204 | return response; | 204 | return response; |
205 | } | 205 | } |
206 | public XmlRpcResponse XmlRPCUserMovedtoRegion(XmlRpcRequest request) | 206 | public XmlRpcResponse XmlRPCUserMovedtoRegion(XmlRpcRequest request, IPEndPoint remoteClient) |
207 | { | 207 | { |
208 | XmlRpcResponse response = new XmlRpcResponse(); | 208 | XmlRpcResponse response = new XmlRpcResponse(); |
209 | Hashtable requestData = (Hashtable)request.Params[0]; | 209 | Hashtable requestData = (Hashtable)request.Params[0]; |
@@ -430,7 +430,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
430 | } | 430 | } |
431 | } | 431 | } |
432 | 432 | ||
433 | public XmlRpcResponse RegionStartup(XmlRpcRequest request) | 433 | public XmlRpcResponse RegionStartup(XmlRpcRequest request, IPEndPoint remoteClient) |
434 | { | 434 | { |
435 | Hashtable requestData = (Hashtable)request.Params[0]; | 435 | Hashtable requestData = (Hashtable)request.Params[0]; |
436 | Hashtable result = new Hashtable(); | 436 | Hashtable result = new Hashtable(); |
@@ -449,7 +449,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
449 | return response; | 449 | return response; |
450 | } | 450 | } |
451 | 451 | ||
452 | public XmlRpcResponse RegionShutdown(XmlRpcRequest request) | 452 | public XmlRpcResponse RegionShutdown(XmlRpcRequest request, IPEndPoint remoteClient) |
453 | { | 453 | { |
454 | Hashtable requestData = (Hashtable)request.Params[0]; | 454 | Hashtable requestData = (Hashtable)request.Params[0]; |
455 | Hashtable result = new Hashtable(); | 455 | Hashtable result = new Hashtable(); |
@@ -468,7 +468,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
468 | return response; | 468 | return response; |
469 | } | 469 | } |
470 | 470 | ||
471 | public XmlRpcResponse AgentLocation(XmlRpcRequest request) | 471 | public XmlRpcResponse AgentLocation(XmlRpcRequest request, IPEndPoint remoteClient) |
472 | { | 472 | { |
473 | Hashtable requestData = (Hashtable)request.Params[0]; | 473 | Hashtable requestData = (Hashtable)request.Params[0]; |
474 | Hashtable result = new Hashtable(); | 474 | Hashtable result = new Hashtable(); |
@@ -489,7 +489,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
489 | return response; | 489 | return response; |
490 | } | 490 | } |
491 | 491 | ||
492 | public XmlRpcResponse AgentLeaving(XmlRpcRequest request) | 492 | public XmlRpcResponse AgentLeaving(XmlRpcRequest request, IPEndPoint remoteClient) |
493 | { | 493 | { |
494 | Hashtable requestData = (Hashtable)request.Params[0]; | 494 | Hashtable requestData = (Hashtable)request.Params[0]; |
495 | Hashtable result = new Hashtable(); | 495 | Hashtable result = new Hashtable(); |