메소드 | 설명 | |
---|---|---|
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 |
리턴 | bool |
public ContainsKey ( |
||
key | Endpoint to check for | |
리턴 | bool |
public ForEach ( Action |
||
action | Action |
Action to perform on each element |
리턴 | void |
public ForEachSync ( Action |
||
action | Action |
Action to perform on each element |
리턴 | void |
public TryGetValue ( |
||
key | Endpoint of the client to retrieve | |
value | IClientAPI | Retrieved client, or null on lookup failure |
리턴 | 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 |
리턴 | bool |