diff options
author | Jeff Ames | 2008-06-04 09:59:27 +0000 |
---|---|---|
committer | Jeff Ames | 2008-06-04 09:59:27 +0000 |
commit | 4ec4e16c809cf86a63b736d2b7b6ad7291595a5f (patch) | |
tree | cfa896ef9057228171e2ee39c4807060101ba90b /OpenSim/Grid/MessagingServer/PresenceInformer.cs | |
parent | * If a ThreadAbortException reaches AuthUser() then let it pass through unmol... (diff) | |
download | opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.zip opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.tar.gz opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.tar.bz2 opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.tar.xz |
Formatting cleanup, minor refactoring, svn properties.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/MessagingServer/PresenceInformer.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Grid/MessagingServer/PresenceInformer.cs b/OpenSim/Grid/MessagingServer/PresenceInformer.cs index 3e35f20..e02aa06 100644 --- a/OpenSim/Grid/MessagingServer/PresenceInformer.cs +++ b/OpenSim/Grid/MessagingServer/PresenceInformer.cs | |||
@@ -36,13 +36,13 @@ namespace OpenSim.Grid.MessagingServer | |||
36 | { | 36 | { |
37 | public delegate RegionProfileData GetRegionData(ulong region_handle); | 37 | public delegate RegionProfileData GetRegionData(ulong region_handle); |
38 | public delegate void Done(PresenceInformer obj); | 38 | public delegate void Done(PresenceInformer obj); |
39 | 39 | ||
40 | 40 | ||
41 | public class PresenceInformer | 41 | public class PresenceInformer |
42 | { | 42 | { |
43 | public event GetRegionData OnGetRegionData; | 43 | public event GetRegionData OnGetRegionData; |
44 | public event Done OnDone; | 44 | public event Done OnDone; |
45 | 45 | ||
46 | private GetRegionData handlerGetRegionData = null; | 46 | private GetRegionData handlerGetRegionData = null; |
47 | private Done handlerDone = null; | 47 | private Done handlerDone = null; |
48 | 48 | ||
@@ -102,10 +102,10 @@ namespace OpenSim.Grid.MessagingServer | |||
102 | PresenceParams.Add("notify_id",UserToUpdate.agentData.AgentID.ToString()); | 102 | PresenceParams.Add("notify_id",UserToUpdate.agentData.AgentID.ToString()); |
103 | if (TalkingAbout.OnlineYN) | 103 | if (TalkingAbout.OnlineYN) |
104 | PresenceParams.Add("status","TRUE"); | 104 | PresenceParams.Add("status","TRUE"); |
105 | else | 105 | else |
106 | PresenceParams.Add("status","FALSE"); | 106 | PresenceParams.Add("status","FALSE"); |
107 | 107 | ||
108 | 108 | ||
109 | 109 | ||
110 | 110 | ||
111 | ArrayList SendParams = new ArrayList(); | 111 | ArrayList SendParams = new ArrayList(); |
@@ -123,12 +123,12 @@ namespace OpenSim.Grid.MessagingServer | |||
123 | catch (WebException) | 123 | catch (WebException) |
124 | { | 124 | { |
125 | m_log.WarnFormat("[INFORM]: failed notifying region {0} containing user {1} about {2}", whichRegion.regionName, UserToUpdate.agentData.firstname + " " + UserToUpdate.agentData.lastname, TalkingAbout.agentData.firstname + " " + TalkingAbout.agentData.lastname); | 125 | m_log.WarnFormat("[INFORM]: failed notifying region {0} containing user {1} about {2}", whichRegion.regionName, UserToUpdate.agentData.firstname + " " + UserToUpdate.agentData.lastname, TalkingAbout.agentData.firstname + " " + TalkingAbout.agentData.lastname); |
126 | } | 126 | } |
127 | } | 127 | } |
128 | else | 128 | else |
129 | { | 129 | { |
130 | m_log.Info("[PRESENCEUPDATER]: Region data was null skipping"); | 130 | m_log.Info("[PRESENCEUPDATER]: Region data was null skipping"); |
131 | 131 | ||
132 | } | 132 | } |
133 | 133 | ||
134 | handlerDone = OnDone; | 134 | handlerDone = OnDone; |