public interface ClientService
Clients and
 attach/detach ClientListeners to listen to connection events.
 All the methods are thread-safe.
Client, 
ClientListener| Modifier and Type | Method and Description | 
|---|---|
String | 
addClientListener(ClientListener clientListener)
Adds a ClientListener. 
 | 
Collection<Client> | 
getConnectedClients()
Returns all connected clients to this member. 
 | 
boolean | 
removeClientListener(String registrationId)
Removes a ClientListener. 
 | 
Collection<Client> getConnectedClients()
String addClientListener(ClientListener clientListener)
clientListener - the ClientListener to addremoveClientListener(String) methodNullPointerException - if clientListener is nullboolean removeClientListener(String registrationId)
registrationId - ID of the ClientListener registrationtrue if registration is removed, false otherwiseNullPointerException - if registration ID is nullCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.