code: public void onRead(SelectionKey key) {
      if (this.readEventDispatcher == null) {
        dispatchReadEvent(key);
      } else {
        this.readEventDispatcher.dispatch(new ReadTask(key));
      }
    }
docs: Read event occured