Interface ClientMembershipEvent
public interface ClientMembershipEvent
An event delivered to a
ClientMembershipListener when this process detects connection
changes to ClientServers or clients.- Since:
- GemFire 8.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the member that connected or disconnected.Returns the id of the member that connected or disconnected.booleanisClient()Returns true if the member is a client to a CacheServer hosted by this process.
-
Method Details
-
getMember
DistributedMember getMember()Returns the member that connected or disconnected.- Returns:
- the member that connected or disconnected
- See Also:
-
getMemberId
String getMemberId()Returns the id of the member that connected or disconnected.- Returns:
- the id of the member that connected or disconnected
- See Also:
-
isClient
boolean isClient()Returns true if the member is a client to a CacheServer hosted by this process. Returns false if the member is a peer that this process is connected to.- Returns:
- whether the member is a client to a CacheServer hosted by this process
-