Expand description
A general implementation of an OPC-UA server.
Support for subscriptions, complex address spaces, methods, all OPC-UA services, node set import, and more.
The server starts a tokio task
for each connection, and another task for each incoming
service call.
See docs for the main opcua
crate for details on usage.
Modules§
- address_
space - Implementation of AddressSpace, and in-memory OPC-UA address space.
- authenticator
- The AuthManager trait, and tooling related to this.
- constants
- Contains constaints for default configuration values. These are for the most part possible to override through server configuration.
- diagnostics
- This module contains the diagnostics node manager, and related types.
- node_
manager - The NodeManager trait, as well as utilities related to calling services on this, and tooling for implementing custom node managers.
Macros§
- load_
method_ args - Convenient macro for performing an implicit cast of each argument to the expected method argument type, and returning the arguments as a tuple.
Structs§
- Certificate
Validation - Configuration for certificate validation.
- Continuation
Point - Representation of a dynamic continuation point. Each node manager may provide their own continuation point type, which is stored by the server. This wraps that value and provides interfaces to access it for a given node manager.
- Create
Monitored Item - Container for a request to create a single monitored item.
- Endpoint
Identifier - Unique ID of an endpoint.
- History
Server Capabilities - History capabilities. As all history is implemented by custom node managers, this should be set according to what your node managers support.
- Limits
- Server limits configuration.
- Monitored
Item - State of an active monitored item on the server.
- Monitored
Item Handle - Unique identifier for a monitored item on the server.
- Operational
Limits - Limits on service calls.
- Server
- The server struct. This is consumed when run, so you will typically not hold onto this for longer periods of time.
- Server
Builder - Server builder, used to configure the server programatically, and for setting core components like node managers, authenticator, and type collections.
- Server
Capabilities - Server capabilities object.
- Server
Config - Server configuration object.
- Server
Endpoint - A configured server endpoint.
- Server
Handle - Reference to a server instance containing tools to modify the server while it is running.
- Server
Info - Server state is any configuration associated with the server as a whole that individual sessions might be interested in.
- Server
Status Wrapper - Wrapper for managing the
ServerStatus
variable on the server. - Server
User Token - User token handled by the default authenticator.
- Session
Subscriptions - Subscriptions belonging to a single session. Note that they are technically owned by a user token, which means that they can be transfered to a different session.
- Subscription
- A single subscription maintained by the server.
- Subscription
Cache - Structure storing all subscriptions and monitored items on the server. Used to notify users of changes.
- Subscription
Limits - Subscription-related limits.
- TcpConfig
- Configuration for the TCP transport.
Enums§
- Identity
Token - Identity token representation on the server, decoded from the client.
- Subscription
State - Current internal state of the subscription.
Constants§
- ANONYMOUS_
USER_ TOKEN_ ID - Token ID for the anonymous user token.
Traits§
- Event
Field - Trait implemented by any type that can be a field in an event.