![]() |
dnp3 (.NET API) 1.1.0
|
Outstation handle More...
Public Member Functions | |
| void | Transaction (Action< Database > callback) |
| Acquire a mutex on the underlying database and apply a set of changes as a transaction More... | |
| void | SetDecodeLevel (DecodeLevel level) |
| Set decoding log level More... | |
Static Public Member Functions | |
| static Outstation | CreateSerialSession (Runtime runtime, string serialPath, SerialSettings settings, OutstationConfig config, IOutstationApplication application, IOutstationInformation information, IControlHandler controlHandler) |
| Create an outstation instance running on a serial port More... | |
| static Outstation | CreateSerialSessionFaultTolerant (Runtime runtime, string serialPath, SerialSettings settings, TimeSpan openRetryDelay, OutstationConfig config, IOutstationApplication application, IOutstationInformation information, IControlHandler controlHandler) |
| Create an outstation instance running on a serial port which is tolerant to the serial port being added and removed More... | |
Outstation handle
Use this handle to modify the internal database.
|
inlinestatic |
Create an outstation instance running on a serial port
The port is opened immediately on the calling thread and fails if not successful
Warning: Most users should prefer the fault tolerant version of the this method Outstation.CreateSerialSessionFaultTolerant
| runtime | runtime on which to spawn the outstation |
| serialPath | Path of the serial device |
| settings | settings for the serial port |
| config | outstation configuration |
| application | application interface |
| information | informational events interface |
| controlHandler | control handler interface |
null if the port cannot be opened| ParamException |
|
inlinestatic |
Create an outstation instance running on a serial port which is tolerant to the serial port being added and removed
| runtime | runtime on which to spawn the outstation |
| serialPath | Path of the serial device |
| settings | settings for the serial port |
| openRetryDelay | delay between attempts to open the serial port |
| config | outstation configuration |
| application | application interface |
| information | informational events interface |
| controlHandler | control handler interface |
null if the port cannot be opened| ParamException |
|
inline |
Set decoding log level
| level | Decode log |
| ParamException |
|
inline |
Acquire a mutex on the underlying database and apply a set of changes as a transaction
| callback | Interface on which to execute the transaction |