dnp3
0.9.0
|
Informational callbacks that the outstation doesn't rely on to function More...
Public Member Functions | |
void | ProcessRequestFromIdle (RequestHeader header) |
Called when a request is processed from the IDLE state More... | |
void | BroadcastReceived (FunctionCode functionCode, BroadcastAction action) |
Called when a broadcast request is received by the outstation More... | |
void | EnterSolicitedConfirmWait (byte ecsn) |
Outstation has begun waiting for a solicited confirm More... | |
void | SolicitedConfirmTimeout (byte ecsn) |
Failed to receive a solicited confirm before the timeout occurred More... | |
void | SolicitedConfirmReceived (byte ecsn) |
Received the expected confirm More... | |
void | SolicitedConfirmWaitNewRequest () |
Received a new request while waiting for a solicited confirm, aborting the response series More... | |
void | WrongSolicitedConfirmSeq (byte ecsn, byte seq) |
Received a solicited confirm with the wrong sequence number More... | |
void | UnexpectedConfirm (bool unsolicited, byte seq) |
Received a confirm when not expecting one More... | |
void | EnterUnsolicitedConfirmWait (byte ecsn) |
Outstation has begun waiting for an unsolicited confirm More... | |
void | UnsolicitedConfirmTimeout (byte ecsn, bool retry) |
Failed to receive an unsolicited confirm before the timeout occurred More... | |
void | UnsolicitedConfirmed (byte ecsn) |
Master confirmed an unsolicited message More... | |
void | ClearRestartIin () |
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
void dnp3.IOutstationInformation.BroadcastReceived | ( | FunctionCode | functionCode, |
BroadcastAction | action | ||
) |
Called when a broadcast request is received by the outstation
functionCode | Function code received |
action | Broadcast action |
void dnp3.IOutstationInformation.ClearRestartIin | ( | ) |
Master cleared the restart IIN bit
void dnp3.IOutstationInformation.EnterSolicitedConfirmWait | ( | byte | ecsn | ) |
Outstation has begun waiting for a solicited confirm
ecsn | Expected sequence number |
void dnp3.IOutstationInformation.EnterUnsolicitedConfirmWait | ( | byte | ecsn | ) |
Outstation has begun waiting for an unsolicited confirm
ecsn | Expected sequence number |
void dnp3.IOutstationInformation.ProcessRequestFromIdle | ( | RequestHeader | header | ) |
Called when a request is processed from the IDLE state
header | Request header |
void dnp3.IOutstationInformation.SolicitedConfirmReceived | ( | byte | ecsn | ) |
Received the expected confirm
ecsn | Expected sequence number |
void dnp3.IOutstationInformation.SolicitedConfirmTimeout | ( | byte | ecsn | ) |
Failed to receive a solicited confirm before the timeout occurred
ecsn | Expected sequence number |
void dnp3.IOutstationInformation.SolicitedConfirmWaitNewRequest | ( | ) |
Received a new request while waiting for a solicited confirm, aborting the response series
void dnp3.IOutstationInformation.UnexpectedConfirm | ( | bool | unsolicited, |
byte | seq | ||
) |
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 |
void dnp3.IOutstationInformation.UnsolicitedConfirmed | ( | byte | ecsn | ) |
Master confirmed an unsolicited message
ecsn | Expected sequence number |
void dnp3.IOutstationInformation.UnsolicitedConfirmTimeout | ( | byte | ecsn, |
bool | retry | ||
) |
Failed to receive an unsolicited confirm before the timeout occurred
ecsn | Expected sequence number |
retry | Is it a retry |
void dnp3.IOutstationInformation.WrongSolicitedConfirmSeq | ( | byte | ecsn, |
byte | seq | ||
) |
Received a solicited confirm with the wrong sequence number
ecsn | Expected sequence number |
seq | Received sequence number |