Beispiel #1
0
rpc_result<Res> rpc_mclient::call(
    const std::string& m,
    const A0& a0,
    const A1& a1,
    const pfi::lang::function<Res(Res, Res)>& reducer) {
  call_(m, msgpack::type::tuple<const A0&, const A1&>(a0, a1));
  return join_(m, reducer);
}
Beispiel #2
0
rpc_result<Res> rpc_mclient::call(
    const std::string& m,
    const A0& a0,
    const A1& a1,
    const A2& a2,
    const A3& a3,
    const jubatus::util::lang::function<Res(Res, Res)>& reducer) {
  call_(
      m,
      msgpack::type::tuple<const A0&, const A1&, const A2&, const A3&>(
          a0,
          a1,
          a2,
          a3));
  return join_(m, reducer);
}