rodbus (C++ API) 1.3.1
Loading...
Searching...
No Matches
rodbus::ClientStateListener Class Referenceabstract

Callback for monitoring the state of a TCP/TLS connection state. More...

#include <rodbus.hpp>

Inheritance diagram for rodbus::ClientStateListener:
rodbus::functional::ClientStateListenerLambda< T >

Public Member Functions

virtual void on_change (ClientState state)=0
 Called when the client state changed. More...
 

Detailed Description

Callback for monitoring the state of a TCP/TLS connection state.

Note
this class is an "interface" and only has virtual methods, some of which may have default implementations.

Member Function Documentation

◆ on_change()

virtual void rodbus::ClientStateListener::on_change ( ClientState  state)
pure virtual

Called when the client state changed.

Parameters
stateNew state

Implemented in rodbus::functional::ClientStateListenerLambda< T >.


The documentation for this class was generated from the following file: