dnp3 (C++ API) 1.1.0
dnp3::PortStateListener Class Referenceabstract

Callback interface for receiving updates about the state of a serial port. More...

#include <dnp3.hpp>

Inheritance diagram for dnp3::PortStateListener:
dnp3::functional::PortStateListenerLambda< T >

Public Member Functions

virtual void on_change (PortState state)=0
 Invoked when the serial port changes state. More...
 

Detailed Description

Callback interface for receiving updates about the state of a serial port.

Note
this class is an "interface" and only has pure virtual methods

Member Function Documentation

◆ on_change()

virtual void dnp3::PortStateListener::on_change ( PortState  state)
pure virtual

Invoked when the serial port changes state.

Parameters
stateNew state of the port

Implemented in dnp3::functional::PortStateListenerLambda< T >.


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