Class ClientMembershipListenerAdapter
java.lang.Object
org.apache.geode.management.membership.ClientMembershipListenerAdapter
- All Implemented Interfaces:
ClientMembershipListener
public abstract class ClientMembershipListenerAdapter
extends Object
implements ClientMembershipListener
Utility class that implements all methods in
ClientMembershipListener with empty
implementations. Applications can subclass this class and only override the methods for the
events of interest.- Since:
- GemFire 8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when a client has unexpectedly disconnected from this process or when this process has unexpectedly disconnected from a CacheServer.voidInvoked when a client has connected to this process or when this process has connected to a CacheServer.voidmemberLeft(ClientMembershipEvent event) Invoked when a client has gracefully disconnected from this process or when this process has gracefully disconnected from a CacheServer.
-
Constructor Details
-
ClientMembershipListenerAdapter
public ClientMembershipListenerAdapter()
-
-
Method Details
-
memberJoined
Invoked when a client has connected to this process or when this process has connected to a CacheServer.- Specified by:
memberJoinedin interfaceClientMembershipListener- Parameters:
event- the triggering event
-
memberLeft
Invoked when a client has gracefully disconnected from this process or when this process has gracefully disconnected from a CacheServer.- Specified by:
memberLeftin interfaceClientMembershipListener- Parameters:
event- the triggering event
-
memberCrashed
Invoked when a client has unexpectedly disconnected from this process or when this process has unexpectedly disconnected from a CacheServer.- Specified by:
memberCrashedin interfaceClientMembershipListener- Parameters:
event- the triggering event
-