diff options
Diffstat (limited to 'OpenSim/Services')
7 files changed, 17 insertions, 21 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianActivityDetector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianActivityDetector.cs index 95e4bab..cd4781d 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianActivityDetector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianActivityDetector.cs | |||
@@ -69,7 +69,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
69 | Util.FireAndForget(delegate(object o) | 69 | Util.FireAndForget(delegate(object o) |
70 | { | 70 | { |
71 | m_GridUserService.SetLastPosition(sp.UUID.ToString(), sp.ControllingClient.SessionId, sp.Scene.RegionInfo.RegionID, sp.AbsolutePosition, sp.Lookat); | 71 | m_GridUserService.SetLastPosition(sp.UUID.ToString(), sp.ControllingClient.SessionId, sp.Scene.RegionInfo.RegionID, sp.AbsolutePosition, sp.Lookat); |
72 | }); | 72 | }, null, "SimianActivityDetector.SetLastPositionOnMakeRootAgent"); |
73 | } | 73 | } |
74 | 74 | ||
75 | public void OnNewClient(IClientAPI client) | 75 | public void OnNewClient(IClientAPI client) |
@@ -94,7 +94,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
94 | Util.FireAndForget(delegate(object o) | 94 | Util.FireAndForget(delegate(object o) |
95 | { | 95 | { |
96 | m_GridUserService.SetLastPosition(sp.UUID.ToString(), sp.ControllingClient.SessionId, sp.Scene.RegionInfo.RegionID, sp.AbsolutePosition, sp.Lookat); | 96 | m_GridUserService.SetLastPosition(sp.UUID.ToString(), sp.ControllingClient.SessionId, sp.Scene.RegionInfo.RegionID, sp.AbsolutePosition, sp.Lookat); |
97 | }); | 97 | }, null, "SimianActivityDetector.SetLastPositionOnEnteringNewParcel"); |
98 | } | 98 | } |
99 | } | 99 | } |
100 | } \ No newline at end of file | 100 | } \ No newline at end of file |
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs index 01cbf91..9ad4a7a 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs | |||
@@ -225,7 +225,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
225 | { | 225 | { |
226 | AssetBase asset = SimianGetOperation(id); | 226 | AssetBase asset = SimianGetOperation(id); |
227 | handler(id, sender, asset); | 227 | handler(id, sender, asset); |
228 | } | 228 | }, null, "SimianAssetServiceConnector.GetFromService" |
229 | ); | 229 | ); |
230 | 230 | ||
231 | return true; | 231 | return true; |
diff --git a/OpenSim/Services/HypergridService/HGAssetService.cs b/OpenSim/Services/HypergridService/HGAssetService.cs index 5c804d4..b57f8d8 100644 --- a/OpenSim/Services/HypergridService/HGAssetService.cs +++ b/OpenSim/Services/HypergridService/HGAssetService.cs | |||
@@ -100,7 +100,7 @@ namespace OpenSim.Services.HypergridService | |||
100 | return null; | 100 | return null; |
101 | 101 | ||
102 | if (asset.Metadata.Type == (sbyte)AssetType.Object) | 102 | if (asset.Metadata.Type == (sbyte)AssetType.Object) |
103 | asset.Data = AdjustIdentifiers(asset.Data); ; | 103 | asset.Data = AdjustIdentifiers(asset.Data); |
104 | 104 | ||
105 | AdjustIdentifiers(asset.Metadata); | 105 | AdjustIdentifiers(asset.Metadata); |
106 | 106 | ||
diff --git a/OpenSim/Services/HypergridService/HGFriendsService.cs b/OpenSim/Services/HypergridService/HGFriendsService.cs index a8bcfb2..6e35a88 100644 --- a/OpenSim/Services/HypergridService/HGFriendsService.cs +++ b/OpenSim/Services/HypergridService/HGFriendsService.cs | |||
@@ -198,7 +198,8 @@ namespace OpenSim.Services.HypergridService | |||
198 | // So let's send back the call, but start a thread to continue | 198 | // So let's send back the call, but start a thread to continue |
199 | // with the verification and the actual action. | 199 | // with the verification and the actual action. |
200 | 200 | ||
201 | Util.FireAndForget(delegate { ProcessFriendshipOffered(fromID, fromName, toID, message); }); | 201 | Util.FireAndForget( |
202 | o => ProcessFriendshipOffered(fromID, fromName, toID, message), null, "HGFriendsService.ProcessFriendshipOffered"); | ||
202 | 203 | ||
203 | return true; | 204 | return true; |
204 | } | 205 | } |
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index c45ea76..ce50ab0 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs | |||
@@ -126,7 +126,7 @@ namespace OpenSim.Services.Interfaces | |||
126 | 126 | ||
127 | public class GridRegion | 127 | public class GridRegion |
128 | { | 128 | { |
129 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 129 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
130 | 130 | ||
131 | #pragma warning disable 414 | 131 | #pragma warning disable 414 |
132 | private static readonly string LogHeader = "[GRID REGION]"; | 132 | private static readonly string LogHeader = "[GRID REGION]"; |
@@ -135,12 +135,7 @@ namespace OpenSim.Services.Interfaces | |||
135 | /// <summary> | 135 | /// <summary> |
136 | /// The port by which http communication occurs with the region | 136 | /// The port by which http communication occurs with the region |
137 | /// </summary> | 137 | /// </summary> |
138 | public uint HttpPort | 138 | public uint HttpPort { get; set; } |
139 | { | ||
140 | get { return m_httpPort; } | ||
141 | set { m_httpPort = value; } | ||
142 | } | ||
143 | protected uint m_httpPort; | ||
144 | 139 | ||
145 | /// <summary> | 140 | /// <summary> |
146 | /// A well-formed URI for the host region server (namely "http://" + ExternalHostName) | 141 | /// A well-formed URI for the host region server (namely "http://" + ExternalHostName) |
@@ -151,10 +146,10 @@ namespace OpenSim.Services.Interfaces | |||
151 | if (!String.IsNullOrEmpty(m_serverURI)) { | 146 | if (!String.IsNullOrEmpty(m_serverURI)) { |
152 | return m_serverURI; | 147 | return m_serverURI; |
153 | } else { | 148 | } else { |
154 | if (m_httpPort == 0) | 149 | if (HttpPort == 0) |
155 | return "http://" + m_externalHostName + "/"; | 150 | return "http://" + m_externalHostName + "/"; |
156 | else | 151 | else |
157 | return "http://" + m_externalHostName + ":" + m_httpPort + "/"; | 152 | return "http://" + m_externalHostName + ":" + HttpPort + "/"; |
158 | } | 153 | } |
159 | } | 154 | } |
160 | set { | 155 | set { |
@@ -290,7 +285,7 @@ namespace OpenSim.Services.Interfaces | |||
290 | RegionSizeY = (int)ConvertFrom.RegionSizeY; | 285 | RegionSizeY = (int)ConvertFrom.RegionSizeY; |
291 | m_internalEndPoint = ConvertFrom.InternalEndPoint; | 286 | m_internalEndPoint = ConvertFrom.InternalEndPoint; |
292 | m_externalHostName = ConvertFrom.ExternalHostName; | 287 | m_externalHostName = ConvertFrom.ExternalHostName; |
293 | m_httpPort = ConvertFrom.HttpPort; | 288 | HttpPort = ConvertFrom.HttpPort; |
294 | RegionID = ConvertFrom.RegionID; | 289 | RegionID = ConvertFrom.RegionID; |
295 | ServerURI = ConvertFrom.ServerURI; | 290 | ServerURI = ConvertFrom.ServerURI; |
296 | TerrainImage = ConvertFrom.RegionSettings.TerrainImageID; | 291 | TerrainImage = ConvertFrom.RegionSettings.TerrainImageID; |
@@ -310,7 +305,7 @@ namespace OpenSim.Services.Interfaces | |||
310 | RegionSizeY = ConvertFrom.RegionSizeY; | 305 | RegionSizeY = ConvertFrom.RegionSizeY; |
311 | m_internalEndPoint = ConvertFrom.InternalEndPoint; | 306 | m_internalEndPoint = ConvertFrom.InternalEndPoint; |
312 | m_externalHostName = ConvertFrom.ExternalHostName; | 307 | m_externalHostName = ConvertFrom.ExternalHostName; |
313 | m_httpPort = ConvertFrom.HttpPort; | 308 | HttpPort = ConvertFrom.HttpPort; |
314 | RegionID = ConvertFrom.RegionID; | 309 | RegionID = ConvertFrom.RegionID; |
315 | ServerURI = ConvertFrom.ServerURI; | 310 | ServerURI = ConvertFrom.ServerURI; |
316 | TerrainImage = ConvertFrom.TerrainImage; | 311 | TerrainImage = ConvertFrom.TerrainImage; |
diff --git a/OpenSim/Services/Interfaces/OpenProfileClient.cs b/OpenSim/Services/Interfaces/OpenProfileClient.cs index e601ebe..bda8151 100644 --- a/OpenSim/Services/Interfaces/OpenProfileClient.cs +++ b/OpenSim/Services/Interfaces/OpenProfileClient.cs | |||
@@ -48,7 +48,7 @@ namespace OpenSim.Services.UserProfilesService | |||
48 | /// </remarks> | 48 | /// </remarks> |
49 | public class OpenProfileClient | 49 | public class OpenProfileClient |
50 | { | 50 | { |
51 | static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 51 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
52 | 52 | ||
53 | private string m_serverURI; | 53 | private string m_serverURI; |
54 | 54 | ||
@@ -60,8 +60,7 @@ namespace OpenSim.Services.UserProfilesService | |||
60 | { | 60 | { |
61 | m_serverURI = serverURI; | 61 | m_serverURI = serverURI; |
62 | } | 62 | } |
63 | 63 | ||
64 | |||
65 | /// <summary> | 64 | /// <summary> |
66 | /// Gets an avatar's profile using the OpenProfile protocol. | 65 | /// Gets an avatar's profile using the OpenProfile protocol. |
67 | /// </summary> | 66 | /// </summary> |
@@ -132,4 +131,4 @@ namespace OpenSim.Services.UserProfilesService | |||
132 | return true; | 131 | return true; |
133 | } | 132 | } |
134 | } | 133 | } |
135 | } | 134 | } \ No newline at end of file |
diff --git a/OpenSim/Services/MapImageService/MapImageService.cs b/OpenSim/Services/MapImageService/MapImageService.cs index c07e034..a816411 100644 --- a/OpenSim/Services/MapImageService/MapImageService.cs +++ b/OpenSim/Services/MapImageService/MapImageService.cs | |||
@@ -166,7 +166,8 @@ namespace OpenSim.Services.MapImageService | |||
166 | // m_log.DebugFormat("{0} UpdateMultiResolutionFilesAsync: scheduling update for <{1},{2}>", LogHeader, x, y); | 166 | // m_log.DebugFormat("{0} UpdateMultiResolutionFilesAsync: scheduling update for <{1},{2}>", LogHeader, x, y); |
167 | multiRezToBuild.Enqueue(new mapToMultiRez(x, y)); | 167 | multiRezToBuild.Enqueue(new mapToMultiRez(x, y)); |
168 | if (multiRezToBuild.Count == 1) | 168 | if (multiRezToBuild.Count == 1) |
169 | Util.FireAndForget(DoUpdateMultiResolutionFilesAsync); | 169 | Util.FireAndForget( |
170 | DoUpdateMultiResolutionFilesAsync, null, "MapImageService.DoUpdateMultiResolutionFilesAsync"); | ||
170 | } | 171 | } |
171 | 172 | ||
172 | return true; | 173 | return true; |