collector.emit(RETURN_STREAM, new Values(requestId, returnInfo));
collector.emit(ID_STREAM, new Values(requestId));
}
public void declareOutputFields(OutputFieldsDeclarer declarer) {
declarer.declareStream(ARGS_STREAM, new Fields("request", "args"));
declarer.declareStream(RETURN_STREAM, new Fields("request", "return"));
declarer.declareStream(ID_STREAM, new Fields("request"));
}