Go to the documentation of this file.
32 #ifndef DEFAULT_COMMS_FAULT_HANDLER_H
33 #define DEFAULT_COMMS_FAULT_HANDLER_H
47 namespace simple_comms_fault_handler
117 this->connection_ = connection;
industrial::smpl_msg_connection::SmplMsgConnection * connection_
Reference to reply connection (called if incoming message requires a reply)
void sendFailCB()
Send failure callback method: Nothing is performed.
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.
void setConnection(industrial::smpl_msg_connection::SmplMsgConnection *connection)
Sets connection manager.
industrial::smpl_msg_connection::SmplMsgConnection * getConnection()
Gets connection for manager.
Default implementation of comms fault handler. This class attempts to reconnect if the connection is ...
Defines an interface and common methods for sending simple messages (see simple_message)....
void receiveFailCB()
Receive failure callback method: Nothing is performed.
Interface definition for communications fault handler. Defines the type of communcations faults that ...
SimpleCommsFaultHandler()
Default constructor.
simple_message
Author(s): Shaun Edwards
autogenerated on Wed Mar 2 2022 00:24:53