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

Callbacks for a particular outstation association. More...

#include <dnp3.hpp>

Inheritance diagram for dnp3::AssociationHandler:
dnp3::functional::AssociationHandlerLambda< T >

Public Member Functions

virtual UtcTimestamp get_current_time ()=0
 Returns the current time or an invalid time if none is available. More...
 

Detailed Description

Callbacks for a particular outstation association.

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

Member Function Documentation

◆ get_current_time()

virtual UtcTimestamp dnp3::AssociationHandler::get_current_time ( )
pure virtual

Returns the current time or an invalid time if none is available.

This callback is used when the master performs time synchronization for a particular outstation.

This could return the system clock or some other clock's time

Returns
The current time

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


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