dnp3  0.9.0
Public Member Functions | Static Public Member Functions | List of all members
dnp3.Outstation Class Reference

Outstation handle More...

Public Member Functions

void Transaction (IOutstationTransaction callback)
 Execute transaction to modify the internal database of the outstation More...
 
void SetDecodeLevel (DecodeLevel level)
 Set decoding log level More...
 

Static Public Member Functions

static Outstation CreateSerialSession (Runtime runtime, string serialPath, SerialPortSettings settings, OutstationConfig config, EventBufferConfig eventConfig, IOutstationApplication application, IOutstationInformation information, IControlHandler controlHandler)
 Create an outstation instance running on a serial port More...
 

Detailed Description

Outstation handle

Use this handle to modify the internal database.

Member Function Documentation

◆ CreateSerialSession()

static Outstation dnp3.Outstation.CreateSerialSession ( Runtime  runtime,
string  serialPath,
SerialPortSettings  settings,
OutstationConfig  config,
EventBufferConfig  eventConfig,
IOutstationApplication  application,
IOutstationInformation  information,
IControlHandler  controlHandler 
)
inlinestatic

Create an outstation instance running on a serial port

Parameters
runtimeruntime on which to spawn the outstation
serialPathPath of the serial device
settingssettings for the serial port
configoutstation configuration
eventConfigevent buffer configuration
applicationapplication interface
informationinformational events interface
controlHandlercontrol handler interface
Returns
Outstation instance or null if the port cannot be opened
Exceptions
ParamException

◆ SetDecodeLevel()

void dnp3.Outstation.SetDecodeLevel ( DecodeLevel  level)
inline

Set decoding log level

Parameters
levelDecode log
Exceptions
ParamException

◆ Transaction()

void dnp3.Outstation.Transaction ( IOutstationTransaction  callback)
inline

Execute transaction to modify the internal database of the outstation

Parameters
callbackMethod to execute as a transaction

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