-
Notifications
You must be signed in to change notification settings - Fork 2
/
phxrpc_kvraft_service.cpp
executable file
·40 lines (27 loc) · 1.04 KB
/
phxrpc_kvraft_service.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* phxrpc_kvraft_service.cpp
Generated by phxrpc_pb2service from kvraft.proto
Please DO NOT edit unless you know exactly what you are doing.
*/
#include "phxrpc_kvraft_service.h"
#include "kvraft.pb.h"
#include "phxrpc/file.h"
KVRaftService::KVRaftService() {
}
KVRaftService::~KVRaftService() {
}
int KVRaftService::PHXEcho(const google::protobuf::StringValue &/* req */, google::protobuf::StringValue */* resp */) {
phxrpc::log(LOG_ERR, "ERROR: PHXEcho unimplemented");
return -1;
}
int KVRaftService::RequestVote(const kvraft::RequestVoteArgs &/* req */, kvraft::RequestVoteReply */* resp */) {
phxrpc::log(LOG_ERR, "ERROR: RequestVote unimplemented");
return -1;
}
int KVRaftService::AppendEntries(const kvraft::AppendEntriesArgs &/* req */, kvraft::AppendEntriesReply */* resp */) {
phxrpc::log(LOG_ERR, "ERROR: AppendEntries unimplemented");
return -1;
}
int KVRaftService::Command(const kvraft::KVArgs &/* req */, kvraft::KVReply */* resp */) {
phxrpc::log(LOG_ERR, "ERROR: Command unimplemented");
return -1;
}