diff options
-rw-r--r-- | OpenSim/Grid/MessagingServer.Modules/InterMessageUserServerModule.cs | 12 | ||||
-rw-r--r-- | OpenSim/Grid/MessagingServer.Modules/MessageService.cs | 7 |
2 files changed, 11 insertions, 8 deletions
diff --git a/OpenSim/Grid/MessagingServer.Modules/InterMessageUserServerModule.cs b/OpenSim/Grid/MessagingServer.Modules/InterMessageUserServerModule.cs index d667af3..ea0a088 100644 --- a/OpenSim/Grid/MessagingServer.Modules/InterMessageUserServerModule.cs +++ b/OpenSim/Grid/MessagingServer.Modules/InterMessageUserServerModule.cs | |||
@@ -113,12 +113,14 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
113 | // Send Request | 113 | // Send Request |
114 | try | 114 | try |
115 | { | 115 | { |
116 | XmlRpcRequest UserReq = new XmlRpcRequest("register_messageserver", SendParams); | 116 | XmlRpcRequest UserReq = new XmlRpcRequest("register_messageserver", SendParams); |
117 | XmlRpcResponse UserResp = (XmlRpcResponse)UserReq.Invoke(srv); | 117 | ////XmlRpcResponse UserResp = UserReq.Send(srv, 16000); |
118 | //XmlRpcResponse UserResp = UserReq.Send(srv, 16000); | 118 | |
119 | //// Process Response | ||
120 | //Hashtable GridRespData = (Hashtable)UserResp.Value; | ||
121 | |||
122 | Hashtable GridRespData = (Hashtable)UserReq.Invoke(srv); | ||
119 | 123 | ||
120 | // Process Response | ||
121 | Hashtable GridRespData = (Hashtable)UserResp.Value; | ||
122 | // if we got a response, we were successful | 124 | // if we got a response, we were successful |
123 | if (!GridRespData.ContainsKey("responsestring")) | 125 | if (!GridRespData.ContainsKey("responsestring")) |
124 | success = false; | 126 | success = false; |
diff --git a/OpenSim/Grid/MessagingServer.Modules/MessageService.cs b/OpenSim/Grid/MessagingServer.Modules/MessageService.cs index ec7791b..731946e 100644 --- a/OpenSim/Grid/MessagingServer.Modules/MessageService.cs +++ b/OpenSim/Grid/MessagingServer.Modules/MessageService.cs | |||
@@ -269,10 +269,11 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
269 | 269 | ||
270 | IList parameters = new ArrayList(); | 270 | IList parameters = new ArrayList(); |
271 | parameters.Add(param); | 271 | parameters.Add(param); |
272 | XmlRpcRequest req = new XmlRpcRequest("get_user_friend_list", parameters); | 272 | XmlRpcRequest req = new XmlRpcRequest("get_user_friend_list", parameters); |
273 | XmlRpcResponse resp = (XmlRpcResponse)req.Invoke(m_cfg.UserServerURL); | ||
274 | //XmlRpcResponse resp = req.Send(m_cfg.UserServerURL, 3000); | 273 | //XmlRpcResponse resp = req.Send(m_cfg.UserServerURL, 3000); |
275 | Hashtable respData = (Hashtable)resp.Value; | 274 | //Hashtable respData = (Hashtable)resp.Value; |
275 | |||
276 | Hashtable respData = (Hashtable)req.Invoke(m_cfg.UserServerURL); | ||
276 | 277 | ||
277 | if (respData.Contains("avcount")) | 278 | if (respData.Contains("avcount")) |
278 | { | 279 | { |