public interface ClientSet
Modifier and Type | Method and Description |
---|---|
void |
add(HubClient client)
Adds a new client to the set.
|
boolean |
containsClient(HubClient client)
Indicates whether a given client is currently a member of this set.
|
HubClient[] |
getClients()
Returns an array of all the currently contained clients.
|
HubClient |
getFromPublicId(String publicId)
Returns the client in the set corresponding to a given public ID.
|
void |
remove(HubClient client)
Removes a client from the set.
|
void add(HubClient client)
client
- client to addvoid remove(HubClient client)
client
- client to removeHubClient getFromPublicId(String publicId)
publicId
- client public IDpublicId
if registered, or nullHubClient[] getClients()
boolean containsClient(HubClient client)
client
is currently a member of this setCopyright © 2008–2024. All rights reserved.