docs: public void addWriteTask(MonitoringEvent event, DatagramChannel channel, int maxSize) {
          if (!initialized) {
              throw new IllegalStateException("Dispatcher is not initialized!");
          }
          tasks.add(new WriteTask(event, channel, maxSize));
      }