dnp3 (C++ API) 1.1.0
dnp3::AssociationConfig Struct Reference

Association configuration. More...

#include <dnp3.hpp>

Public Member Functions

 AssociationConfig (const EventClasses &disable_unsol_classes, const EventClasses &enable_unsol_classes, const Classes &startup_integrity_classes, const EventClasses &event_scan_on_events_available)
 Initialize the configuration with the specified values. More...
 

Public Attributes

std::chrono::steady_clock::duration response_timeout
 Timeout for receiving a response on this association. More...
 
EventClasses disable_unsol_classes
 Classes to disable unsolicited responses at startup. More...
 
EventClasses enable_unsol_classes
 Classes to enable unsolicited responses at startup. More...
 
Classes startup_integrity_classes
 Startup integrity classes to ask on master startup and when an outstation restart is detected. More...
 
AutoTimeSync auto_time_sync
 Automatic time synchronization configuration. More...
 
RetryStrategy auto_tasks_retry_strategy
 Automatic tasks retry strategy. More...
 
std::chrono::steady_clock::duration keep_alive_timeout
 Delay of inactivity before sending a REQUEST_LINK_STATUS to the outstation. More...
 
bool auto_integrity_scan_on_buffer_overflow
 Automatic integrity scan when an EVENT_BUFFER_OVERFLOW is detected. More...
 
EventClasses event_scan_on_events_available
 Classes to automatically send reads when the IIN bit is asserted. More...
 
uint16_t max_queued_user_requests
 maximum number of user requests (e.g. commands, adhoc reads, etc) that will be queued before back-pressure is applied by failing requests More...
 

Friends

class CppAssociationConfigFriend
 

Detailed Description

Association configuration.

Constructor & Destructor Documentation

◆ AssociationConfig()

dnp3::AssociationConfig::AssociationConfig ( const EventClasses disable_unsol_classes,
const EventClasses enable_unsol_classes,
const Classes startup_integrity_classes,
const EventClasses event_scan_on_events_available 
)

Initialize the configuration with the specified values.

Note
Values are initialized to:
Parameters
disable_unsol_classesClasses to disable unsolicited responses at startup
enable_unsol_classesClasses to enable unsolicited responses at startup
startup_integrity_classesStartup integrity classes to ask on master startup and when an outstation restart is detected.
event_scan_on_events_availableClasses to automatically send reads when the IIN bit is asserted
Returns
New instance of AssociationConfig

Member Data Documentation

◆ auto_integrity_scan_on_buffer_overflow

bool dnp3::AssociationConfig::auto_integrity_scan_on_buffer_overflow

Automatic integrity scan when an EVENT_BUFFER_OVERFLOW is detected.

◆ auto_tasks_retry_strategy

RetryStrategy dnp3::AssociationConfig::auto_tasks_retry_strategy

Automatic tasks retry strategy.

◆ auto_time_sync

AutoTimeSync dnp3::AssociationConfig::auto_time_sync

Automatic time synchronization configuration.

◆ disable_unsol_classes

EventClasses dnp3::AssociationConfig::disable_unsol_classes

Classes to disable unsolicited responses at startup.

◆ enable_unsol_classes

EventClasses dnp3::AssociationConfig::enable_unsol_classes

Classes to enable unsolicited responses at startup.

◆ event_scan_on_events_available

EventClasses dnp3::AssociationConfig::event_scan_on_events_available

Classes to automatically send reads when the IIN bit is asserted.

◆ keep_alive_timeout

std::chrono::steady_clock::duration dnp3::AssociationConfig::keep_alive_timeout

Delay of inactivity before sending a REQUEST_LINK_STATUS to the outstation.

A value of zero means no automatic keep-alive.

◆ max_queued_user_requests

uint16_t dnp3::AssociationConfig::max_queued_user_requests

maximum number of user requests (e.g. commands, adhoc reads, etc) that will be queued before back-pressure is applied by failing requests

◆ response_timeout

std::chrono::steady_clock::duration dnp3::AssociationConfig::response_timeout

Timeout for receiving a response on this association.

◆ startup_integrity_classes

Classes dnp3::AssociationConfig::startup_integrity_classes

Startup integrity classes to ask on master startup and when an outstation restart is detected.

For conformance, this should be Class 1230.


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