public final class ClientServiceProxy extends Object implements ClientService
ClientService
.Constructor and Description |
---|
ClientServiceProxy(Node node) |
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.
|
public ClientServiceProxy(Node node)
public Collection<Client> getConnectedClients()
ClientService
getConnectedClients
in interface ClientService
public String addClientListener(ClientListener clientListener)
ClientService
addClientListener
in interface ClientService
clientListener
- the ClientListener to addClientService.removeClientListener(String)
methodpublic boolean removeClientListener(String registrationId)
ClientService
removeClientListener
in interface ClientService
registrationId
- ID of the ClientListener registrationtrue
if registration is removed, false
otherwiseCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.