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

Handle to the underlying runtime More...

Public Member Functions

 Runtime (RuntimeConfig config)
 Creates a new runtime for running the protocol stack. More...
 
void Shutdown ()
 Destroy a runtime. More...
 

Detailed Description

Handle to the underlying runtime

Constructor & Destructor Documentation

◆ Runtime()

dnp3.Runtime.Runtime ( RuntimeConfig  config)
inline

Creates a new runtime for running the protocol stack.

Warning: The runtime should be kept alive for as long as it's needed and it should be released with Runtime.Shutdown()

Parameters
configRuntime configuration
Returns
Handle to the created runtime, null if an error occurred
Exceptions
ParamException

Member Function Documentation

◆ Shutdown()

void dnp3.Runtime.Shutdown ( )
inline

Destroy a runtime.

This method will gracefully wait for all asynchronous operation to end before returning


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