opcua-server 0.6.0

OPC UA server API
Documentation

The OPC UA Server module contains all server side functionality - address space, services, server security, session management, local discovery server registration and subscriptions.

Usage

An implementation will usually start by building a ServerConfig, either from a configuration file, or through code. Then it will construct a Server, initialise its address space, and then run it.

Example

This is a minimal server which runs with the default address space on the default port.

use opcua_server::prelude::*;

fn main() {
let server: Server = ServerBuilder::new_sample().server().unwrap();
server.run();
}