Motorcortex Core  version: 2.7.6
cm_rpcprocessor.h
1 /*
2  * Developer : Alexey Zakharov (alexey.zakharov@vectioneer.com)
3  * All rights reserved. Copyright (c) 2016 VECTIONEER.
4  */
5 
6 #ifndef CM_RPCPROCESSOR_H
7 #define CM_RPCPROCESSOR_H
8 
9 #include "cm_rpctypes.h"
10 
11 namespace mcx::comm {
12 
13 class RPCProcessor {
14 public:
15 
16  RPCProcessor() = default;
17 
18  virtual ~RPCProcessor() = default;
19 
20  RPCProcessor(const RPCProcessor& orig) = delete;
21 
22  virtual MsgHashSet getHashList() const = 0;
23 
24  virtual bool processRequest(const RequestMsg& request, ReplyMsg& reply) = 0;
25 
26 };
27 
28 } // namespace mcx::comm
29 
30 #endif /* CM_RPCPROCESSOR_H */
31 
mcx::comm::ReplyMsg
Definition: cm_rpctypes.h:33
mcx::comm::RPCProcessor
Definition: cm_rpcprocessor.h:13
mcx::comm::RequestMsg
Definition: cm_rpctypes.h:24