Home Manual Reference Source Test
import Client from 'atscm/src/lib/server/Client.js'
public class | source

Client

A wrapper around node-opcua~OPCUAClient used to connect to atvise server.

Test:

Static Method Summary

Static Public Methods
public static

Creates and connects a new instance of node-opcua~OPCUAClient.

Static Public Methods

public static create(): Promise<node-opcua~OPCUAClient, Error> source

Creates and connects a new instance of node-opcua~OPCUAClient.

Return:

Promise<node-opcua~OPCUAClient, Error>

Fulfilled with an already connected node-opcua~OPCUAClient instance, rejected if an error occured.

Test: