ClientMembershipEvent (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.management.membership, interface: ClientMembershipEvent

Package org.apache.geode.management.membership

# 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 Type
  Method
  Description
  `DistributedMember`
  `getMember()`
  Returns the member that connected or disconnected.
  `String`
  `getMemberId()`
  Returns the id of the member that connected or disconnected.
  `boolean`
  `isClient()`
  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:
      - `DistributedSystem.getDistributedMember()`

  - ### 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:
      - `DistributedMember.getId()`

  - ### 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