dnp3 (C++ API) 1.1.0
|
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 |
Association configuration.
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.
true
disable_unsol_classes | Classes to disable unsolicited responses at startup |
enable_unsol_classes | Classes to enable unsolicited responses at startup |
startup_integrity_classes | Startup integrity classes to ask on master startup and when an outstation restart is detected. |
event_scan_on_events_available | Classes to automatically send reads when the IIN bit is asserted |
bool dnp3::AssociationConfig::auto_integrity_scan_on_buffer_overflow |
Automatic integrity scan when an EVENT_BUFFER_OVERFLOW is detected.
RetryStrategy dnp3::AssociationConfig::auto_tasks_retry_strategy |
Automatic tasks retry strategy.
AutoTimeSync dnp3::AssociationConfig::auto_time_sync |
Automatic time synchronization configuration.
EventClasses dnp3::AssociationConfig::disable_unsol_classes |
Classes to disable unsolicited responses at startup.
EventClasses dnp3::AssociationConfig::enable_unsol_classes |
Classes to enable unsolicited responses at startup.
EventClasses dnp3::AssociationConfig::event_scan_on_events_available |
Classes to automatically send reads when the IIN bit is asserted.
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.
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
std::chrono::steady_clock::duration dnp3::AssociationConfig::response_timeout |
Timeout for receiving a response on this association.
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.