docs: public void setState(TransferState state) {
          synchronized (this) {
              this.state = state;
          }
          for ( TransferStateChangeListener listener : stateChangeListeners ) {
              listener.transferStateChanged(this, state);
          }
      }