1 // RPC stubs for clients to talk to rsmtest_server
3 #include "include/rsmtest_client.h"
6 rsmtest_client::rsmtest_client(string dst) {
7 if (!(cl = rpcc::bind_cached(dst)))
8 LOG << "could not bind to " << dst;
11 rsm_test_protocol::status rsmtest_client::net_repair(int heal) {
12 rsm_test_protocol::status r = rsm_test_protocol::ERR;
13 VERIFY (cl->call(rsm_test_protocol::net_repair, r, heal) == rsm_test_protocol::OK);
17 rsm_test_protocol::status rsmtest_client::breakpoint(int b) {
18 rsm_test_protocol::status r = rsm_test_protocol::ERR;
19 VERIFY (cl->call(rsm_test_protocol::breakpoint, r, b) == rsm_test_protocol::OK);