code: public void process(Map<String, Object> metadata, boolean eos) throws IOException {
  
      this.processor.process(this, metadata, eos);
      if (this.chainSuccessor != null) {
        this.chainSuccessor.process(metadata, eos);
      }
    }
docs: @see DetectorStreamProcessor#process(DetectorStreamBuffer, Map, boolean)
  
  @param metadata is the {@link Map} with the meta-data.
  @param eos - {@code true} if the end of the stream has been reached and the given {@code buffer} has to be
  @throws IOException in case of an Input/Output error. Should only be used internally.