Ejemplo n.º 1
0
 private void DispatchMasterDisconnected(MasterDisconnected masterDisconnected)
 {
     if (masterDisconnected == null)
     {
         return;
     }
     _eventHandler.OnMasterDisconnected(masterDisconnected);
     Disconnect().Dispatch();
 }
 public void OnMasterDisconnected(MasterDisconnected masterDisconnected)
 {
     _client.OnDisconnectedFromMasterAsync(masterDisconnected.reason).Promise().Then(() => { }, (err) => _manager.Logger.OnError(err))
     .Dispatch();
 }