Example #1
0
 @Override
 public final ReactorResponse react(String sender, ReactorRequestInput requestInput) {
   try {
     return react(
         dataParser.parseRequestWithData(
             sender, getTriggeringExpression(), requestInput.popArguments()));
   } catch (ReactorRequestParsingException e) {
     LOGGER.error("An error occurred while parsing Request", e);
     return new CommandHelpResponse(getRootCause(e).getMessage(), this);
   }
 }
Example #2
0
 @Override
 public void accept(ReactorTopologyDiscoveringVisitor topologyVisitor) {
   dataParser.accept(topologyVisitor);
 }