1 // RPC stubs for clients to talk to rsmtest_server
3 #include "rsmtest_client.h"
11 rsmtest_client::rsmtest_client(std::string dst)
14 make_sockaddr(dst.c_str(), &dstsock);
15 cl = new rpcc(dstsock);
17 printf("rsmtest_client: call bind\n");
22 rsmtest_client::net_repair(int heal)
25 int ret = cl->call(rsm_test_protocol::net_repair, heal, r);
26 VERIFY (ret == rsm_test_protocol::OK);
31 rsmtest_client::breakpoint(int b)
34 int ret = cl->call(rsm_test_protocol::breakpoint, b, r);
35 VERIFY (ret == rsm_test_protocol::OK);