Go to the documentation of this file.
42 namespace simple_comms_fault_handler
59 if (NULL != connection)
62 LOG_INFO(
"Default communications fault handler successfully initialized");
67 LOG_ERROR(
"Failed to initialize default communications fault handler");
78 LOG_INFO(
"Connection failed, attempting reconnect");
83 LOG_WARN(
"Connection fail callback called while still connected (Possible bug)");
industrial::smpl_msg_connection::SmplMsgConnection * connection_
Reference to reply connection (called if incoming message requires a reply)
#define LOG_INFO(format,...)
void connectionFailCB()
Connection failure callback method: On a connection failure a blocking reconnection is attempted.
#define LOG_WARN(format,...)
bool init(industrial::smpl_msg_connection::SmplMsgConnection *connection)
Initializes default communications fault handler.
~SimpleCommsFaultHandler()
Destructor.
#define LOG_ERROR(format,...)
void setConnection(industrial::smpl_msg_connection::SmplMsgConnection *connection)
Sets connection manager.
industrial::smpl_msg_connection::SmplMsgConnection * getConnection()
Gets connection for manager.
Defines an interface and common methods for sending simple messages (see simple_message)....
virtual bool makeConnect()=0
connects to the remote host
SimpleCommsFaultHandler()
Default constructor.
simple_message
Author(s): Shaun Edwards
autogenerated on Wed Mar 2 2022 00:24:53