dnp3  0.9.0
Public Attributes | List of all members
dnp3_association_handler_t Struct Reference

Callbacks for a particular outstation association. More...

#include <dnp3.h>

Public Attributes

dnp3_timestamp_utc_t(* get_current_time )(void *)
 Returns the current time or an invalid time if none is available. More...
 
void(* on_destroy )(void *arg)
 Callback when the underlying owner doesn't need the interface anymore. More...
 
void * ctx
 Context data.
 

Detailed Description

Callbacks for a particular outstation association.

Member Data Documentation

◆ get_current_time

dnp3_timestamp_utc_t(* dnp3_association_handler_t::get_current_time) (void *)

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

Parameters
ctxContext data
Returns
The current time

◆ on_destroy

void(* dnp3_association_handler_t::on_destroy) (void *arg)

Callback when the underlying owner doesn't need the interface anymore.

Parameters
argContext data

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