From 792b7cba2f55501504fdf2b508923d6af7735fba Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 12 Feb 2009 10:08:47 +0000 Subject: * Applied some CCC (Code Convention Conformance) --- OpenSim/Data/RegionProfileService.cs | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Data/RegionProfileService.cs b/OpenSim/Data/RegionProfileService.cs index 1a73ed1..f30bd1e 100644 --- a/OpenSim/Data/RegionProfileService.cs +++ b/OpenSim/Data/RegionProfileService.cs @@ -13,15 +13,15 @@ namespace OpenSim.Data /// /// Request sim data based on arbitrary key/value /// - private static RegionProfileData RequestSimData(Uri gridserver_url, string gridserver_sendkey, string keyField, string keyValue) + private static RegionProfileData RequestSimData(Uri gridserverUrl, string gridserverSendkey, string keyField, string keyValue) { Hashtable requestData = new Hashtable(); requestData[keyField] = keyValue; - requestData["authkey"] = gridserver_sendkey; + requestData["authkey"] = gridserverSendkey; ArrayList SendParams = new ArrayList(); SendParams.Add(requestData); XmlRpcRequest GridReq = new XmlRpcRequest("simulator_data_request", SendParams); - XmlRpcResponse GridResp = GridReq.Send(gridserver_url.ToString(), 3000); + XmlRpcResponse GridResp = GridReq.Send(gridserverUrl.ToString(), 3000); Hashtable responseData = (Hashtable) GridResp.Value; @@ -51,16 +51,16 @@ namespace OpenSim.Data /// /// Request sim profile information from a grid server, by Region UUID /// - /// The region UUID to look for - /// - /// - /// + /// The region UUID to look for + /// + /// + /// /// The sim profile. Null if there was a request failure /// This method should be statics - public static RegionProfileData RequestSimProfileData(UUID region_uuid, Uri gridserver_url, - string gridserver_sendkey, string gridserver_recvkey) + public static RegionProfileData RequestSimProfileData(UUID regionId, Uri gridserverUrl, + string gridserverSendkey, string gridserverRecvkey) { - return RequestSimData(gridserver_url, gridserver_sendkey, "region_UUID", region_uuid.Guid.ToString()); + return RequestSimData(gridserverUrl, gridserverSendkey, "region_UUID", regionId.Guid.ToString()); } /// @@ -80,15 +80,15 @@ namespace OpenSim.Data /// /// Request sim profile information from a grid server, by Region Name /// - /// the region name to look for - /// - /// - /// + /// the region name to look for + /// + /// + /// /// The sim profile. Null if there was a request failure - public static RegionProfileData RequestSimProfileData(string regionName, Uri gridserver_url, - string gridserver_sendkey, string gridserver_recvkey) + public static RegionProfileData RequestSimProfileData(string regionName, Uri gridserverUrl, + string gridserverSendkey, string gridserverRecvkey) { - return RequestSimData(gridserver_url, gridserver_sendkey, "region_name_search", regionName ); + return RequestSimData(gridserverUrl, gridserverSendkey, "region_name_search", regionName ); } } } -- cgit v1.1