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

Informational callbacks about the current state of an outstation association. More...

#include <dnp3.hpp>

Public Member Functions

virtual void task_start (TaskType task_type, FunctionCode function_code, uint8_t seq)=0
 Called when a new task is started. More...
 
virtual void task_success (TaskType task_type, FunctionCode function_code, uint8_t seq)=0
 Called when a task successfully completes. More...
 
virtual void task_fail (TaskType task_type, TaskError error)=0
 Called when a task fails. More...
 
virtual void unsolicited_response (bool is_duplicate, uint8_t seq)=0
 Called when an unsolicited response is received. More...
 

Detailed Description

Informational callbacks about the current state of an outstation association.

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

Member Function Documentation

◆ task_fail()

virtual void dnp3::AssociationInformation::task_fail ( TaskType  task_type,
TaskError  error 
)
pure virtual

Called when a task fails.

Parameters
task_typeType of task that was completed
errorError that prevented

◆ task_start()

virtual void dnp3::AssociationInformation::task_start ( TaskType  task_type,
FunctionCode  function_code,
uint8_t  seq 
)
pure virtual

Called when a new task is started.

Parameters
task_typeType of task that was started
function_codeFunction code used by the task
seqSequence number of the request

◆ task_success()

virtual void dnp3::AssociationInformation::task_success ( TaskType  task_type,
FunctionCode  function_code,
uint8_t  seq 
)
pure virtual

Called when a task successfully completes.

Parameters
task_typeType of task that was completed
function_codeFunction code used by the task
seqSequence number of the request

◆ unsolicited_response()

virtual void dnp3::AssociationInformation::unsolicited_response ( bool  is_duplicate,
uint8_t  seq 
)
pure virtual

Called when an unsolicited response is received.

Parameters
is_duplicateIs the unsolicited response a duplicate response
seqSequence number of the response

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