Wire Sysio Wire Sysion 1.0.0
|
Public Types | |
typedef websocketpp::client< websocketpp::config::asio_client > | client |
typedef websocketpp::lib::lock_guard< websocketpp::lib::mutex > | scoped_lock |
Public Member Functions | |
telemetry_client () | |
void | run (const std::string &uri) |
void | on_open (websocketpp::connection_hdl) |
void | on_close (websocketpp::connection_hdl) |
void | on_fail (websocketpp::connection_hdl) |
void | telemetry_loop () |
The telemetry client connects to a WebSocket server and sends a message every second containing an integer count. This example can be used as the basis for programs where a client connects and pushes data for logging, stress/load testing, etc.
Definition at line 15 of file telemetry_client.cpp.
Definition at line 17 of file telemetry_client.cpp.
websocketpp::lib::lock_guard<websocketpp::lib::mutex> telemetry_client::scoped_lock |
Definition at line 18 of file telemetry_client.cpp.
|
inline |
Definition at line 20 of file telemetry_client.cpp.
|
inline |
Definition at line 77 of file telemetry_client.cpp.
|
inline |
Definition at line 86 of file telemetry_client.cpp.
|
inline |
Definition at line 68 of file telemetry_client.cpp.
|
inline |
Definition at line 39 of file telemetry_client.cpp.
|
inline |
Definition at line 94 of file telemetry_client.cpp.