ADTF  3.18.2
iclientconnectionhandler.h
1 /*************************************************************************
2  * libjson-rpc-cpp
3  *************************************************************************
4  * @file iclientconnectionhandler.h
5  * @date 10/23/2014
6  * @author Peter Spiess-Knafl <dev@spiessknafl.at>
7  * @license See attached LICENSE.txt
8  ************************************************************************/
9 
10 #ifndef JSONRPC_CPP_ICLIENTCONNECTIONHANDLER_H
11 #define JSONRPC_CPP_ICLIENTCONNECTIONHANDLER_H
12 
13 #include <string>
14 
15 namespace jsonrpc
16 {
17  class Procedure;
19  public:
20  virtual ~IClientConnectionHandler() {}
21 
22  virtual void HandleRequest(const std::string& request, std::string& retValue) = 0;
23  };
24 
26  {
27  public:
28  virtual ~IProtocolHandler(){}
29 
30  virtual void AddProcedure(const Procedure& procedure) = 0;
31  };
32 }
33 
34 #endif // JSONRPC_CPP_ICLIENTCONNECTIONHANDLER_H