dnp3 (C++ API) 1.6.0
Loading...
Searching...
No Matches
dnp3::FileInfoCallback Class Referenceabstract

Callback interface for retrieving file info asynchronously. More...

#include <dnp3.hpp>

Public Member Functions

virtual void on_complete (const FileInfo &result)=0
 Invoked when the asynchronous operation completes successfully. More...
 
virtual void on_failure (FileError error)=0
 Invoked when the asynchronous operation fails. More...
 

Detailed Description

Callback interface for retrieving file info asynchronously.

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

Member Function Documentation

◆ on_complete()

virtual void dnp3::FileInfoCallback::on_complete ( const FileInfo result)
pure virtual

Invoked when the asynchronous operation completes successfully.

Parameters
resultInformation about the requested file

◆ on_failure()

virtual void dnp3::FileInfoCallback::on_failure ( FileError  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: