dnp3  0.9.0
Public Member Functions | List of all members
dnp3.AssociationHandler Class Reference

Functional adapter of IAssociationHandler More...

Inheritance diagram for dnp3.AssociationHandler:
dnp3.IAssociationHandler

Public Member Functions

 AssociationHandler (Func< TimestampUtc > action)
 Functional constructor More...
 
TimestampUtc GetCurrentTime ()
 Returns the current time or an invalid time if none is available More...
 

Detailed Description

Functional adapter of IAssociationHandler

Constructor & Destructor Documentation

◆ AssociationHandler()

dnp3.AssociationHandler.AssociationHandler ( Func< TimestampUtc action)
inline

Functional constructor

Parameters
actionCallback to execute

Member Function Documentation

◆ GetCurrentTime()

TimestampUtc dnp3.AssociationHandler.GetCurrentTime ( )
inline

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

Implements dnp3.IAssociationHandler.


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