32 #ifndef DEFAULT_COMMS_FAULT_HANDLER_H 33 #define DEFAULT_COMMS_FAULT_HANDLER_H 47 namespace simple_comms_fault_handler
117 this->connection_ = connection;
void receiveFailCB()
Receive failure callback method: Nothing is performed.
Interface definition for communications fault handler. Defines the type of communcations faults that ...
void setConnection(industrial::smpl_msg_connection::SmplMsgConnection *connection)
Sets connection manager.
Defines an interface and common methods for sending simple messages (see simple_message). This interface makes a bare minimum of assumptions:
#define LOG_WARN(format,...)
void connectionFailCB()
Connection failure callback method: On a connection failure a blocking reconnection is attempted...
bool init(industrial::smpl_msg_connection::SmplMsgConnection *connection)
Initializes default communications fault handler.
SimpleCommsFaultHandler()
Default constructor.
~SimpleCommsFaultHandler()
Destructor.
industrial::smpl_msg_connection::SmplMsgConnection * connection_
Reference to reply connection (called if incoming message requires a reply)
Default implementation of comms fault handler. This class attempts to reconnect if the connection is ...
industrial::smpl_msg_connection::SmplMsgConnection * getConnection()
Gets connection for manager.
void sendFailCB()
Send failure callback method: Nothing is performed.