Instead od nodeID shouldn't it be whatever was returned from the earlier call to setMembershipListener?