event raised when server has been successfully registered on the local discovery server
event raised when server registration has been successfully renewed on the local discovery server
event raised when server has been successfully unregistered from the local discovery server
event raised after the server has raised an OPCUA event toward a client
event raised when the server received a request from one of its connected client. useful for trace purpose.
event raised when the server send an response to a request to one of its connected client. useful for trace purpose.
event raised when a new secure channel is opened
event raised when a new secure channel is closed
false if anonymouse connection are not allowed
the maximum number of concurrent sessions allowed on the server
the maximum number for concurrent connection per end point
the user manager
the maximum number of subscription that can be created per server
The server build info
total number of bytes read by the server since startup
total number of bytes written by the server since startup
the number of connected channel on all existing end points
the number of sessions currently active
The number of active subscriptions from all sessions
true if the server has been initialized
is the server auditing ?
the publishing interval count
the number of request that have been rejected
the number of session activation requests that have been rejected
The type of server
the number of sessions that have been aborted
Number of transactions processed by the server since startup
ensure that action is performed on a valid session object,
the constructor of the response Class
create and register a new session
returns a array of currently active channels
retrieve a session by authentication token
Initialize the server by installing default node set.
and instruct the server to listen to its endpoints.
const server = new OPCUAServer();
await server.initialize();
// default server namespace is now initialized
// it is a good time to create life instance objects
const namespace = server.engine.addressSpace.getOwnNamespace();
namespace.addObject({
browseName: "SomeObject",
organizedBy: server.engine.addressSpace.rootFolder.objects
});
// the addressSpace is now complete
// let's now start listening to clients
await server.start();
set all the end point into a state where they do accept connections note: this method is useful for testing purpose
shutdown all server endpoints
the timeout (in ms) before the server is actually shutdown
Initiate the server by starting all its endpoints
set all the end point into a state where they do not accept further connections
note: this method is useful for testing purpose
Generated using TypeDoc
emitted when the server is trying to registered the LDS but when the connection to the lds has failed serverRegistrationPending is sent when the backoff signal of the connection process is raised