| 12 | namespace tc |
| 13 | { |
| 14 | CtSpvrClient::CtSpvrClient(const std::shared_ptr<ThunderSdk>& sdk, |
| 15 | const std::shared_ptr<ClientContext>& ctx, |
| 16 | const std::string& host, |
| 17 | int port, |
| 18 | const std::string& device_id, |
| 19 | const std::string& remote_device_id, |
| 20 | const std::string& remote_device_ip, |
| 21 | const std::string& appkey) { |
| 22 | sdk_ = sdk; |
| 23 | context_ = ctx; |
| 24 | host_ = host; |
| 25 | port_ = port; |
| 26 | device_id_ = device_id; |
| 27 | remote_device_id_ = remote_device_id; |
| 28 | remote_device_ip_ = remote_device_ip; |
| 29 | appkey_ = appkey; |
| 30 | } |
| 31 | |
| 32 | void CtSpvrClient::Start() { |
| 33 | client_ = std::make_shared<asio2::wss_client>(); |
nothing calls this directly
no outgoing calls
no test coverage detected