dnp3 (.NET API) 1.1.0
dnp3.OutstationConfig Class Reference

Outstation configuration More...

Public Member Functions

OutstationConfig WithOutstationAddress (ushort value)
 Link-layer outstation address More...
 
OutstationConfig WithMasterAddress (ushort value)
 Link-layer master address More...
 
OutstationConfig WithEventBufferConfig (EventBufferConfig value)
 Event buffer sizes configuration More...
 
OutstationConfig WithSolicitedBufferSize (ushort value)
 Solicited response buffer size More...
 
OutstationConfig WithUnsolicitedBufferSize (ushort value)
 Unsolicited response buffer size More...
 
OutstationConfig WithRxBufferSize (ushort value)
 Receive buffer size More...
 
OutstationConfig WithDecodeLevel (DecodeLevel value)
 Decoding level More...
 
OutstationConfig WithConfirmTimeout (TimeSpan value)
 Confirmation timeout More...
 
OutstationConfig WithSelectTimeout (TimeSpan value)
 Select timeout More...
 
OutstationConfig WithFeatures (OutstationFeatures value)
 Optional features More...
 
OutstationConfig WithMaxUnsolicitedRetries (uint value)
 Maximum number of unsolicited retries More...
 
OutstationConfig WithUnsolicitedRetryDelay (TimeSpan value)
 Delay to wait before retrying an unsolicited response More...
 
OutstationConfig WithKeepAliveTimeout (TimeSpan value)
 Delay of inactivity before sending a REQUEST_LINK_STATUS to the master More...
 
OutstationConfig WithMaxReadRequestHeaders (ushort value)
 Maximum number of headers that will be processed in a READ request. More...
 
OutstationConfig WithMaxControlsPerRequest (ushort value)
 Maximum number of controls in a single request. More...
 
OutstationConfig WithClassZero (ClassZeroConfig value)
 Controls responses to Class 0 reads More...
 
 OutstationConfig (ushort outstationAddress, ushort masterAddress, EventBufferConfig eventBufferConfig)
 Initialize to defaults More...
 

Public Attributes

ushort OutstationAddress
 Link-layer outstation address More...
 
ushort MasterAddress
 Link-layer master address More...
 
EventBufferConfig EventBufferConfig
 Event buffer sizes configuration More...
 
ushort SolicitedBufferSize
 Solicited response buffer size More...
 
ushort UnsolicitedBufferSize
 Unsolicited response buffer size More...
 
ushort RxBufferSize
 Receive buffer size More...
 
DecodeLevel DecodeLevel
 Decoding level More...
 
TimeSpan ConfirmTimeout
 Confirmation timeout More...
 
TimeSpan SelectTimeout
 Select timeout More...
 
OutstationFeatures Features
 Optional features More...
 
uint MaxUnsolicitedRetries
 Maximum number of unsolicited retries More...
 
TimeSpan UnsolicitedRetryDelay
 Delay to wait before retrying an unsolicited response More...
 
TimeSpan KeepAliveTimeout
 Delay of inactivity before sending a REQUEST_LINK_STATUS to the master More...
 
ushort MaxReadRequestHeaders
 Maximum number of headers that will be processed in a READ request. More...
 
ushort MaxControlsPerRequest
 Maximum number of controls in a single request. More...
 
ClassZeroConfig ClassZero
 Controls responses to Class 0 reads More...
 

Detailed Description

Outstation configuration

Constructor & Destructor Documentation

◆ OutstationConfig()

dnp3.OutstationConfig.OutstationConfig ( ushort  outstationAddress,
ushort  masterAddress,
EventBufferConfig  eventBufferConfig 
)
inline

Member Function Documentation

◆ WithClassZero()

OutstationConfig dnp3.OutstationConfig.WithClassZero ( ClassZeroConfig  value)
inline

Controls responses to Class 0 reads

◆ WithConfirmTimeout()

OutstationConfig dnp3.OutstationConfig.WithConfirmTimeout ( TimeSpan  value)
inline

Confirmation timeout

◆ WithDecodeLevel()

OutstationConfig dnp3.OutstationConfig.WithDecodeLevel ( DecodeLevel  value)
inline

Decoding level

◆ WithEventBufferConfig()

OutstationConfig dnp3.OutstationConfig.WithEventBufferConfig ( EventBufferConfig  value)
inline

Event buffer sizes configuration

◆ WithFeatures()

OutstationConfig dnp3.OutstationConfig.WithFeatures ( OutstationFeatures  value)
inline

Optional features

◆ WithKeepAliveTimeout()

OutstationConfig dnp3.OutstationConfig.WithKeepAliveTimeout ( TimeSpan  value)
inline

Delay of inactivity before sending a REQUEST_LINK_STATUS to the master

A value of zero means no automatic keep-alive will be sent.

◆ WithMasterAddress()

OutstationConfig dnp3.OutstationConfig.WithMasterAddress ( ushort  value)
inline

Link-layer master address

◆ WithMaxControlsPerRequest()

OutstationConfig dnp3.OutstationConfig.WithMaxControlsPerRequest ( ushort  value)
inline

Maximum number of controls in a single request.

◆ WithMaxReadRequestHeaders()

OutstationConfig dnp3.OutstationConfig.WithMaxReadRequestHeaders ( ushort  value)
inline

Maximum number of headers that will be processed in a READ request.

Internally, this controls the size of a pre-allocated buffer used to process requests. A minimum value of DEFAULT_READ_REQUEST_HEADERS is always enforced. Requesting more than this number will result in the PARAMETER_ERROR IIN bit being set in the response.

◆ WithMaxUnsolicitedRetries()

OutstationConfig dnp3.OutstationConfig.WithMaxUnsolicitedRetries ( uint  value)
inline

Maximum number of unsolicited retries

◆ WithOutstationAddress()

OutstationConfig dnp3.OutstationConfig.WithOutstationAddress ( ushort  value)
inline

Link-layer outstation address

◆ WithRxBufferSize()

OutstationConfig dnp3.OutstationConfig.WithRxBufferSize ( ushort  value)
inline

Receive buffer size

Must be at least 249 bytes

◆ WithSelectTimeout()

OutstationConfig dnp3.OutstationConfig.WithSelectTimeout ( TimeSpan  value)
inline

Select timeout

◆ WithSolicitedBufferSize()

OutstationConfig dnp3.OutstationConfig.WithSolicitedBufferSize ( ushort  value)
inline

Solicited response buffer size

Must be at least 249 bytes

◆ WithUnsolicitedBufferSize()

OutstationConfig dnp3.OutstationConfig.WithUnsolicitedBufferSize ( ushort  value)
inline

Unsolicited response buffer size

Must be at least 249 bytes

◆ WithUnsolicitedRetryDelay()

OutstationConfig dnp3.OutstationConfig.WithUnsolicitedRetryDelay ( TimeSpan  value)
inline

Delay to wait before retrying an unsolicited response

Member Data Documentation

◆ ClassZero

ClassZeroConfig dnp3.OutstationConfig.ClassZero

Controls responses to Class 0 reads

◆ ConfirmTimeout

TimeSpan dnp3.OutstationConfig.ConfirmTimeout

Confirmation timeout

◆ DecodeLevel

DecodeLevel dnp3.OutstationConfig.DecodeLevel

Decoding level

◆ EventBufferConfig

EventBufferConfig dnp3.OutstationConfig.EventBufferConfig

Event buffer sizes configuration

◆ Features

OutstationFeatures dnp3.OutstationConfig.Features

Optional features

◆ KeepAliveTimeout

TimeSpan dnp3.OutstationConfig.KeepAliveTimeout

Delay of inactivity before sending a REQUEST_LINK_STATUS to the master

A value of zero means no automatic keep-alive will be sent.

◆ MasterAddress

ushort dnp3.OutstationConfig.MasterAddress

Link-layer master address

◆ MaxControlsPerRequest

ushort dnp3.OutstationConfig.MaxControlsPerRequest

Maximum number of controls in a single request.

◆ MaxReadRequestHeaders

ushort dnp3.OutstationConfig.MaxReadRequestHeaders

Maximum number of headers that will be processed in a READ request.

Internally, this controls the size of a pre-allocated buffer used to process requests. A minimum value of DEFAULT_READ_REQUEST_HEADERS is always enforced. Requesting more than this number will result in the PARAMETER_ERROR IIN bit being set in the response.

◆ MaxUnsolicitedRetries

uint dnp3.OutstationConfig.MaxUnsolicitedRetries

Maximum number of unsolicited retries

◆ OutstationAddress

ushort dnp3.OutstationConfig.OutstationAddress

Link-layer outstation address

◆ RxBufferSize

ushort dnp3.OutstationConfig.RxBufferSize

Receive buffer size

Must be at least 249 bytes

◆ SelectTimeout

TimeSpan dnp3.OutstationConfig.SelectTimeout

Select timeout

◆ SolicitedBufferSize

ushort dnp3.OutstationConfig.SolicitedBufferSize

Solicited response buffer size

Must be at least 249 bytes

◆ UnsolicitedBufferSize

ushort dnp3.OutstationConfig.UnsolicitedBufferSize

Unsolicited response buffer size

Must be at least 249 bytes

◆ UnsolicitedRetryDelay

TimeSpan dnp3.OutstationConfig.UnsolicitedRetryDelay

Delay to wait before retrying an unsolicited response


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