client-cpp  0.8.1
IPTransportInfo.hpp
Go to the documentation of this file.
1 
17 #ifndef IP_TRANSPORT_INFO_HPP_
18 #define IP_TRANSPORT_INFO_HPP_
19 
20 #include <string>
21 
22 #include "kaa/logging/Log.hpp"
26 
27 namespace kaa {
28 
30 public:
32 
33  const std::string& getHost() const {
34  return host_;
35  }
36 
37  std::uint16_t getPort() const {
38  return port_;
39  }
40 
41  const std::string& getURL() const {
42  return url_;
43  }
44 
45  const PublicKey& getPublicKey() const {
46  return publicKey_;
47  }
48 
49 private:
50  std::string host_;
51  std::uint16_t port_;
52  std::string url_;
53  PublicKey publicKey_;
54 
55 };
56 
57 } /* namespace kaa */
58 
59 #endif /* IP_TRANSPORT_INFO_HPP_ */
Botan::secure_vector< std::uint8_t > PublicKey
IPTransportInfo(ITransportConnectionInfoPtr connectionInfo)
const PublicKey & getPublicKey() const
const std::string & getHost() const
std::uint16_t getPort() const
const std::string & getURL() const
std::shared_ptr< ITransportConnectionInfo > ITransportConnectionInfoPtr