dnp3  0.9.0
Public Member Functions | List of all members
dnp3.IOutstationInformation Interface Reference

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...
 

Detailed Description

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

Member Function Documentation

◆ BroadcastReceived()

void dnp3.IOutstationInformation.BroadcastReceived ( FunctionCode  functionCode,
BroadcastAction  action 
)

Called when a broadcast request is received by the outstation

Parameters
functionCodeFunction code received
actionBroadcast action

◆ ClearRestartIin()

void dnp3.IOutstationInformation.ClearRestartIin ( )

Master cleared the restart IIN bit

◆ EnterSolicitedConfirmWait()

void dnp3.IOutstationInformation.EnterSolicitedConfirmWait ( byte  ecsn)

Outstation has begun waiting for a solicited confirm

Parameters
ecsnExpected sequence number

◆ EnterUnsolicitedConfirmWait()

void dnp3.IOutstationInformation.EnterUnsolicitedConfirmWait ( byte  ecsn)

Outstation has begun waiting for an unsolicited confirm

Parameters
ecsnExpected sequence number

◆ ProcessRequestFromIdle()

void dnp3.IOutstationInformation.ProcessRequestFromIdle ( RequestHeader  header)

Called when a request is processed from the IDLE state

Parameters
headerRequest header

◆ SolicitedConfirmReceived()

void dnp3.IOutstationInformation.SolicitedConfirmReceived ( byte  ecsn)

Received the expected confirm

Parameters
ecsnExpected sequence number

◆ SolicitedConfirmTimeout()

void dnp3.IOutstationInformation.SolicitedConfirmTimeout ( byte  ecsn)

Failed to receive a solicited confirm before the timeout occurred

Parameters
ecsnExpected sequence number

◆ SolicitedConfirmWaitNewRequest()

void dnp3.IOutstationInformation.SolicitedConfirmWaitNewRequest ( )

Received a new request while waiting for a solicited confirm, aborting the response series

◆ UnexpectedConfirm()

void dnp3.IOutstationInformation.UnexpectedConfirm ( bool  unsolicited,
byte  seq 
)

Received a confirm when not expecting one

Parameters
unsolicitedTrue if it's an unsolicited response confirm, false if it's a solicited response confirm
seqReceived sequence number

◆ UnsolicitedConfirmed()

void dnp3.IOutstationInformation.UnsolicitedConfirmed ( byte  ecsn)

Master confirmed an unsolicited message

Parameters
ecsnExpected sequence number

◆ UnsolicitedConfirmTimeout()

void dnp3.IOutstationInformation.UnsolicitedConfirmTimeout ( byte  ecsn,
bool  retry 
)

Failed to receive an unsolicited confirm before the timeout occurred

Parameters
ecsnExpected sequence number
retryIs it a retry

◆ WrongSolicitedConfirmSeq()

void dnp3.IOutstationInformation.WrongSolicitedConfirmSeq ( byte  ecsn,
byte  seq 
)

Received a solicited confirm with the wrong sequence number

Parameters
ecsnExpected sequence number
seqReceived sequence number

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