code: private void onEvent(CounterManager.Event2C.OnCounterUpdated event) {
          getModel().count = String.valueOf(event.getCount());
  
          if (view != null) {
              view.update();
          }
      }
docs: Event subscriber: notified by counterManager
  @param event