ADTF
Loading...
Searching...
No Matches
adtf_client_connector.h
Go to the documentation of this file.
1
7#pragma once
8
9#include <adtf_utils.h>
10#include <jsonrpccpp/client/iclientconnector.h>
11#include <rpc/rpc.h>
12
13namespace adtf
14{
15namespace remote
16{
17namespace hollow
18{
19
20 class cADTFClientConnector : public jsonrpc::IClientConnector
21 {
22
23 public:
24 cADTFClientConnector(const adtf::util::cString& strUrl);
25 ~cADTFClientConnector();
26
27 public:
28 void SendRPCMessage(const std::string& message,
29 std::string& result);
30
31 private:
32 class cImplementation;
33 std::unique_ptr<cImplementation> m_pImplementation;
34 };
35
36}
37
38namespace lucky
39{
40
41void register_client_connector_factory(const char* strProtocol,
42 std::function<std::shared_ptr<jsonrpc::IClientConnector>(const char*)> fnFactory);
43}
44
45using hollow::cADTFClientConnector;
46template<typename Stub>
48using lucky::register_client_connector_factory;
49
50
51} //namespace remote
52} //namespace adtf
Definition json_rpc.h:77
Namespace for all functionality of the ADTF Remote SDK provided since v3.7.
Definition adtf_client_connector.h:18
Namespace for the ADTF Remote SDK.
Definition adtf_client_connector.h:16
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14