Expand description
The OPC UA Core module holds functionality that is common to server and clients that make use of OPC UA. It contains message chunking, cryptography / pki, communications and standard handshake messages.
Modules§
- comms
- Contains all code related to sending / receiving messages from a transport and turning those messages into and out of chunks.
- config
- debug
- Contains debugging utility helper functions
- handle
- prelude
- Contains most of the things that are typically required from a client / server.
- runtime
- supported_
message
Macros§
- deregister_
runtime_ component - See
register_runtime_component
- register_
runtime_ component - This macro is for debugging purposes - code register a running component (e.g. tokio task) when it starts and calls the corresponding deregister macro when it finishes. This enables the code to print out a list of components in existence at any time to ensure they were properly cleaned up.
- runtime_
components - Returns a vector of all currently existing runtime components as a vector of strings.
- supported_
message_ as - trace_
lock - Tracing macro for obtaining a lock on a
Mutex
. Sometimes deadlocks can happen in code, and if they do, this macro is useful for finding out where they happened. - trace_
read_ lock - Tracing macro for obtaining a read lock on a
RwLock
. - trace_
write_ lock - Tracing macro for obtaining a write lock on a
RwLock
.