Méthode | Description | |
---|---|---|
Add ( IClientAPI value ) : bool |
Add a client reference to the collection if it does not already exist
|
|
Clear ( ) : void |
Resets the client collection
|
|
ClientManager ( ) : System |
Default constructor
|
|
ContainsKey ( |
Checks if an endpoint is in the collection
|
|
ContainsKey ( UUID key ) : bool |
Checks if a UUID is in the collection
|
|
ForEach ( Action |
Performs a given task in parallel for each of the elements in the collection
|
|
ForEachSync ( Action |
Performs a given task synchronously for each of the elements in the collection
|
|
Remove ( UUID key ) : bool |
Remove a client from the collection
|
|
TryGetValue ( |
Attempts to fetch a value out of the collection
|
|
TryGetValue ( UUID key, IClientAPI &value ) : bool |
Attempts to fetch a value out of the collection
|
public Add ( IClientAPI value ) : bool | ||
value | IClientAPI | Reference to the client object |
Résultat | bool |
public ContainsKey ( |
||
key | Endpoint to check for | |
Résultat | bool |
public ContainsKey ( UUID key ) : bool | ||
key | UUID | UUID to check for |
Résultat | bool |
public ForEach ( Action |
||
action | Action |
Action to perform on each element |
Résultat | void |
public ForEachSync ( Action |
||
action | Action |
Action to perform on each element |
Résultat | void |
public Remove ( UUID key ) : bool | ||
key | UUID | UUID of the client to remove |
Résultat | bool |
public TryGetValue ( |
||
key | Endpoint of the client to retrieve | |
value | IClientAPI | Retrieved client, or null on lookup failure |
Résultat | bool |
public TryGetValue ( UUID key, IClientAPI &value ) : bool | ||
key | UUID | UUID of the client to retrieve |
value | IClientAPI | Retrieved client, or null on lookup failure |
Résultat | bool |