protected Set addListenerAndGetMembers() {
    return getDistributionManager().addMembershipListenerAndGetDistributionManagerIds(this);
  }
Registers this processor as a membership listener and returns a set of the current members.

@return a Set of the current members
@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/distributed/internal/ReplyProcessor21.java