1 | /************************************************************************* |
2 | * libjson-rpc-cpp |
3 | ************************************************************************* |
4 | * @file abstractclientconnector.h |
5 | * @date 02.01.2013 |
6 | * @author Peter Spiess-Knafl <dev@spiessknafl.at> |
7 | * @license See attached LICENSE.txt |
8 | ************************************************************************/ |
9 | |
10 | #ifndef JSONRPC_CPP_CLIENTCONNECTOR_H_ |
11 | #define JSONRPC_CPP_CLIENTCONNECTOR_H_ |
12 | |
13 | #include <jsonrpccpp/common/exception.h> |
14 | #include <string> |
15 | |
16 | namespace jsonrpc { |
17 | class IClientConnector { |
18 | public: |
19 | virtual ~IClientConnector() {} |
20 | |
21 | virtual void SendRPCMessage(const std::string &message, std::string &result) = 0; |
22 | }; |
23 | } /* namespace jsonrpc */ |
24 | #endif /* JSONRPC_CPP_CLIENTCONNECTOR_H_ */ |
25 | |