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

Handler for read tasks. More...

#include <dnp3.hpp>

Public Member Functions

virtual void on_complete (Nothing result)=0
 Invoked when the asynchronous operation completes successfully. More...
 
virtual void on_failure (ReadError error)=0
 Invoked when the asynchronous operation fails. More...
 

Detailed Description

Handler for read tasks.

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

Member Function Documentation

◆ on_complete()

virtual void dnp3::ReadTaskCallback::on_complete ( Nothing  result)
pure virtual

Invoked when the asynchronous operation completes successfully.

Parameters
resultResult of the read task

◆ on_failure()

virtual void dnp3::ReadTaskCallback::on_failure ( ReadError  error)
pure virtual

Invoked when the asynchronous operation fails.

Parameters
errorEnumeration indicating which error occurred

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