diff options
author | lbsa71 | 2007-07-09 21:25:43 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-09 21:25:43 +0000 |
commit | 85dd493614cda12488eb7920713ddda07c921dbc (patch) | |
tree | caa4dc30e786e48645981e192d45acd8c564d5b9 /OpenSim/Framework/General | |
parent | * Introduced ClientManager for great justice. (diff) | |
download | opensim-SC_OLD-85dd493614cda12488eb7920713ddda07c921dbc.zip opensim-SC_OLD-85dd493614cda12488eb7920713ddda07c921dbc.tar.gz opensim-SC_OLD-85dd493614cda12488eb7920713ddda07c921dbc.tar.bz2 opensim-SC_OLD-85dd493614cda12488eb7920713ddda07c921dbc.tar.xz |
* some follow up renaming of members et c.
Diffstat (limited to 'OpenSim/Framework/General')
-rw-r--r-- | OpenSim/Framework/General/ClientManager.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/General/ClientManager.cs b/OpenSim/Framework/General/ClientManager.cs index 5b6e7b3..03ad226 100644 --- a/OpenSim/Framework/General/ClientManager.cs +++ b/OpenSim/Framework/General/ClientManager.cs | |||
@@ -8,11 +8,11 @@ namespace OpenSim.Framework | |||
8 | public delegate void ForEachClientDelegate( IClientAPI client ); | 8 | public delegate void ForEachClientDelegate( IClientAPI client ); |
9 | public class ClientManager | 9 | public class ClientManager |
10 | { | 10 | { |
11 | private Dictionary<uint, IClientAPI> m_clientThreads; | 11 | private Dictionary<uint, IClientAPI> m_clients; |
12 | 12 | ||
13 | public void ForEachClient(ForEachClientDelegate whatToDo) | 13 | public void ForEachClient(ForEachClientDelegate whatToDo) |
14 | { | 14 | { |
15 | foreach (IClientAPI client in m_clientThreads.Values) | 15 | foreach (IClientAPI client in m_clients.Values) |
16 | { | 16 | { |
17 | whatToDo(client); | 17 | whatToDo(client); |
18 | } | 18 | } |
@@ -20,12 +20,12 @@ namespace OpenSim.Framework | |||
20 | 20 | ||
21 | public ClientManager() | 21 | public ClientManager() |
22 | { | 22 | { |
23 | m_clientThreads = new Dictionary<uint, IClientAPI>(); | 23 | m_clients = new Dictionary<uint, IClientAPI>(); |
24 | } | 24 | } |
25 | 25 | ||
26 | public void Add(uint id, IClientAPI client ) | 26 | public void Add(uint id, IClientAPI client ) |
27 | { | 27 | { |
28 | m_clientThreads.Add( id, client ); | 28 | m_clients.Add( id, client ); |
29 | } | 29 | } |
30 | } | 30 | } |
31 | } | 31 | } |