public void MemberAttributeChanged(MemberAttributeEvent memberAttributeEvent)
 {
     if (OnMemberAttributeChanged != null)
         OnMemberAttributeChanged(memberAttributeEvent);
 }
 public void HandleMemberAttributeChange(string uuid, string key, int operationType, string value)
 {
     var memberMap = _clusterService.GetMembersRef();
     if (memberMap == null)
     {
         return;
     }
     foreach (var target in memberMap.Values)
     {
         if (target.GetUuid().Equals(uuid))
         {
             var type = (MemberAttributeOperationType) operationType;
             ((Member) target).UpdateAttribute(type, key, value);
             var memberAttributeEvent = new MemberAttributeEvent(_client.GetCluster(), target, type, key,
                 value);
             _clusterService.FireMemberAttributeEvent(memberAttributeEvent);
             break;
         }
     }
 }
 public void MemberAttributeChanged(MemberAttributeEvent memberAttributeEvent)
 {
 }
 internal virtual void FireMemberAttributeEvent(MemberAttributeEvent @event)
 {
     _client.GetClientExecutionService().Submit(() =>
     {
         foreach (var listener in _listeners.Values)
         {
             listener.MemberAttributeChanged(@event);
         }
     });
 }