An rpc implement under protobuf rpc framework.