Message handler that handles ping messages. More...
#include <ping_handler.h>
Public Member Functions | |
bool | init (industrial::smpl_msg_connection::SmplMsgConnection *connection) |
Class initializer. More... | |
bool | init (int msg_type, industrial::smpl_msg_connection::SmplMsgConnection *connection) |
Class initializer (Direct call to base class with the same name) I couldn't get the "using" form to work/. More... | |
Private Member Functions | |
bool | internalCB (industrial::simple_message::SimpleMessage &in) |
Callback executed upon receiving a ping message. More... | |
Additional Inherited Members |
Message handler that handles ping messages.
Responds to ping message types. A ping is a simple message that is meant to test communications channels. A ping simply responds with a copy of the data it was sent.
THIS CLASS IS NOT THREAD-SAFE
Definition at line 60 of file ping_handler.h.
bool industrial::ping_handler::PingHandler::init | ( | industrial::smpl_msg_connection::SmplMsgConnection * | connection | ) |
Class initializer.
connection | simple message connection that will be used to send replies. |
Definition at line 50 of file ping_handler.cpp.
|
inline |
Class initializer (Direct call to base class with the same name) I couldn't get the "using" form to work/.
connection | simple message connection that will be used to send replies. |
Definition at line 81 of file ping_handler.h.
|
privatevirtual |
Callback executed upon receiving a ping message.
in | incoming message |
Implements industrial::message_handler::MessageHandler.
Definition at line 55 of file ping_handler.cpp.