| 16 | BatchResponse::BatchResponse() {} |
| 17 | |
| 18 | void BatchResponse::addResponse(Json::Value &id, Json::Value response, bool isError) { |
| 19 | if (isError) { |
| 20 | errorResponses.push_back(id); |
| 21 | } |
| 22 | responses[id] = response; |
| 23 | } |
| 24 | |
| 25 | Json::Value BatchResponse::getResult(int id) { |
| 26 | Json::Value result; |