com.hazelcast.core
Interface ClientListener

All Superinterfaces:
EventListener

public interface ClientListener
extends EventListener

The ClientListener provides the ability to listen to clients connecting and disconnecting from the cluster.

See Also:
Client, ClientService.addClientListener(ClientListener)

Method Summary
 void clientConnected(Client client)
          Invoked when a new client is connected.
 void clientDisconnected(Client client)
          Invoked when a new client is disconnected.
 

Method Detail

clientConnected

void clientConnected(Client client)
Invoked when a new client is connected.

Parameters:
client - the client instance

clientDisconnected

void clientDisconnected(Client client)
Invoked when a new client is disconnected.

Parameters:
client - the client instance


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.