/**
  * memberAdded gets invoked by the interceptor below the channel and the channel will broadcast it
  * to the membership listeners
  *
  * @param member Member - the new member
  */
 @Override
 public void memberAdded(Member member) {
   // notify upwards
   for (int i = 0; i < membershipListeners.size(); i++) {
     MembershipListener membershipListener = (MembershipListener) membershipListeners.get(i);
     if (membershipListener != null) membershipListener.memberAdded(member);
   }
 }
Beispiel #2
0
 @Override
 public void memberAdded(Member member) {
   if (listener != null) listener.memberAdded(member);
 }