dnp3 (C++ API) 1.1.0
|
Informational callbacks that the outstation doesn't rely on to function. More...
#include <dnp3.hpp>
Public Member Functions | |
virtual void | process_request_from_idle (const RequestHeader &header)=0 |
Called when a request is processed from the IDLE state. More... | |
virtual void | broadcast_received (FunctionCode function_code, BroadcastAction action)=0 |
Called when a broadcast request is received by the outstation. More... | |
virtual void | enter_solicited_confirm_wait (uint8_t ecsn)=0 |
Outstation has begun waiting for a solicited confirm. More... | |
virtual void | solicited_confirm_timeout (uint8_t ecsn)=0 |
Failed to receive a solicited confirm before the timeout occurred. More... | |
virtual void | solicited_confirm_received (uint8_t ecsn)=0 |
Received the expected confirm. More... | |
virtual void | solicited_confirm_wait_new_request ()=0 |
Received a new request while waiting for a solicited confirm, aborting the response series. More... | |
virtual void | wrong_solicited_confirm_seq (uint8_t ecsn, uint8_t seq)=0 |
Received a solicited confirm with the wrong sequence number. More... | |
virtual void | unexpected_confirm (bool unsolicited, uint8_t seq)=0 |
Received a confirm when not expecting one. More... | |
virtual void | enter_unsolicited_confirm_wait (uint8_t ecsn)=0 |
Outstation has begun waiting for an unsolicited confirm. More... | |
virtual void | unsolicited_confirm_timeout (uint8_t ecsn, bool retry)=0 |
Failed to receive an unsolicited confirm before the timeout occurred. More... | |
virtual void | unsolicited_confirmed (uint8_t ecsn)=0 |
Master confirmed an unsolicited message. More... | |
virtual void | clear_restart_iin ()=0 |
Master cleared the restart IIN bit. More... | |
Informational callbacks that the outstation doesn't rely on to function.
It may be useful to certain applications to assess the health of the communication or to count statistics
|
pure virtual |
Called when a broadcast request is received by the outstation.
function_code | Function code received |
action | Broadcast action |
|
pure virtual |
Master cleared the restart IIN bit.
|
pure virtual |
Outstation has begun waiting for a solicited confirm.
ecsn | Expected sequence number |
|
pure virtual |
Outstation has begun waiting for an unsolicited confirm.
ecsn | Expected sequence number |
|
pure virtual |
Called when a request is processed from the IDLE state.
header | Request header |
|
pure virtual |
Received the expected confirm.
ecsn | Expected sequence number |
|
pure virtual |
Failed to receive a solicited confirm before the timeout occurred.
ecsn | Expected sequence number |
|
pure virtual |
Received a new request while waiting for a solicited confirm, aborting the response series.
|
pure virtual |
Received a confirm when not expecting one.
unsolicited | True if it's an unsolicited response confirm, false if it's a solicited response confirm |
seq | Received sequence number |
|
pure virtual |
Failed to receive an unsolicited confirm before the timeout occurred.
ecsn | Expected sequence number |
retry | Is it a retry |
|
pure virtual |
Master confirmed an unsolicited message.
ecsn | Expected sequence number |
|
pure virtual |
Received a solicited confirm with the wrong sequence number.
ecsn | Expected sequence number |
seq | Received sequence number |