public void FireLifecycleEvent(LifecycleEvent.LifecycleState lifecycleState)
 {
     var lifecycleEvent = new LifecycleEvent(lifecycleState);
     logger.Info("HazelcastClient[" + client.GetName() + "] is " + lifecycleEvent.GetState());
     foreach (var entry in lifecycleListeners)
     {
         entry.Value.StateChanged(lifecycleEvent);
     }
 }
 public void StateChanged(LifecycleEvent lifecycleEvent)
 {
     _action(lifecycleEvent);
 }
 public void StateChanged(LifecycleEvent lifecycleEvent)
 {
     _action(lifecycleEvent);
 }
 private void FireConnectionEvent(LifecycleEvent.LifecycleState state)
 {
     var lifecycleService = (LifecycleService) _client.GetLifecycleService();
     lifecycleService.FireLifecycleEvent(state);
 }