ADTF  3.18.2
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 
13 namespace adtf
14 {
15 namespace remote
16 {
17 namespace hollow
18 {
19 
21  {
22 
23  public:
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 
38 namespace lucky
39 {
40 
41 void register_client_connector_factory(const char* strProtocol,
42  std::function<std::shared_ptr<jsonrpc::IClientConnector>(const char*)> fnFactory);
43 }
44 
45 using hollow::cADTFClientConnector;
46 template<typename Stub>
48 using lucky::register_client_connector_factory;
49 
50 
51 } //namespace remote
52 } //namespace adtf
Copyright © Audi Electronics Venture GmbH.
Template for direct usage of the stub methods.
Definition: json_rpc.h:77
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
Definition: string.h:2778
Namespace for entire ADTF SDK.
RPC Package Header.