diff --git a/examples/telemetry_server/telemetry_server.cpp b/examples/telemetry_server/telemetry_server.cpp index 2582a2b..fb11a37 100644 --- a/examples/telemetry_server/telemetry_server.cpp +++ b/examples/telemetry_server/telemetry_server.cpp @@ -156,19 +156,13 @@ public: con->set_status(websocketpp::http::status_code::ok); } - // The open handler will signal that we are ready to start sending telemetry void on_open(connection_hdl hdl) { m_connections.insert(hdl); } - // The close handler will signal that we should stop sending telemetry void on_close(connection_hdl hdl) { m_connections.erase(hdl); } - - // The fail handler will signal that we should stop sending telemetry - void on_fail(connection_hdl) { - } private: typedef std::set> con_list;