Maps from client AgentID and RemoteEndPoint values to IClientAPI references for all of the connected clients
More...
Maps from client AgentID and RemoteEndPoint values to IClientAPI references for all of the connected clients
Definition at line 41 of file ClientManager.cs.
OpenSim.Framework.ClientManager.ClientManager |
( |
| ) |
|
|
inline |
bool OpenSim.Framework.ClientManager.Add |
( |
IClientAPI |
value | ) |
|
|
inline |
Add a client reference to the collection if it does not already exist
- Parameters
-
value | Reference to the client object |
- Returns
- True if the client reference was successfully added, otherwise false if the given key already existed in the collection
Definition at line 75 of file ClientManager.cs.
void OpenSim.Framework.ClientManager.Clear |
( |
| ) |
|
|
inline |
bool OpenSim.Framework.ClientManager.ContainsKey |
( |
UUID |
key | ) |
|
|
inline |
Checks if a UUID is in the collection
- Parameters
-
- Returns
- True if the UUID was found in the collection, otherwise false
Definition at line 152 of file ClientManager.cs.
bool OpenSim.Framework.ClientManager.ContainsKey |
( |
IPEndPoint |
key | ) |
|
|
inline |
Checks if an endpoint is in the collection
- Parameters
-
- Returns
- True if the endpoint was found in the collection, otherwise false
Definition at line 162 of file ClientManager.cs.
void OpenSim.Framework.ClientManager.ForEach |
( |
Action< IClientAPI > |
action | ) |
|
|
inline |
Performs a given task in parallel for each of the elements in the collection
- Parameters
-
action | Action to perform on each element |
Definition at line 204 of file ClientManager.cs.
void OpenSim.Framework.ClientManager.ForEachSync |
( |
Action< IClientAPI > |
action | ) |
|
|
inline |
Performs a given task synchronously for each of the elements in the collection
- Parameters
-
action | Action to perform on each element |
Definition at line 218 of file ClientManager.cs.
bool OpenSim.Framework.ClientManager.Remove |
( |
UUID |
key | ) |
|
|
inline |
Remove a client from the collection
- Parameters
-
key | UUID of the client to remove |
- Returns
- True if a client was removed, or false if the given UUID was not present in the collection
Definition at line 105 of file ClientManager.cs.
bool OpenSim.Framework.ClientManager.TryGetValue |
( |
UUID |
key, |
|
|
out IClientAPI |
value |
|
) |
| |
|
inline |
Attempts to fetch a value out of the collection
- Parameters
-
key | UUID of the client to retrieve |
value | Retrieved client, or null on lookup failure |
- Returns
- True if the lookup succeeded, otherwise false
Definition at line 173 of file ClientManager.cs.
bool OpenSim.Framework.ClientManager.TryGetValue |
( |
IPEndPoint |
key, |
|
|
out IClientAPI |
value |
|
) |
| |
|
inline |
Attempts to fetch a value out of the collection
- Parameters
-
key | Endpoint of the client to retrieve |
value | Retrieved client, or null on lookup failure |
- Returns
- True if the lookup succeeded, otherwise false
Definition at line 189 of file ClientManager.cs.
int OpenSim.Framework.ClientManager.Count |
|
get |
The documentation for this class was generated from the following file: