Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Hierarchy

Index

Properties

Optional applicationName

applicationName: string

the client application name

default

"NodeOPCUA-Client"

Optional applicationUri

applicationUri: string

the application Uri

default:

urn:${hostname}:${applicationName}

Optional certificateFile

certificateFile: string

client certificate pem file.

default

`${clientCertificateManager/rootFolder}/own/certs/client_certificate.pem"

Optional clientCertificateManager

clientCertificateManager: OPCUACertificateManager

certificate Manager

Optional clientName

clientName: string

a client name string that will be used to generate session names.

Optional connectionStrategy

connectionStrategy: ConnectionStrategyOptions

Optional defaultSecureTokenLifetime

defaultSecureTokenLifetime: number

default secure token lifetime in ms

Optional discoveryUrl

discoveryUrl: string

discovery url:

Optional keepPendingSessionsOnDisconnect

keepPendingSessionsOnDisconnect: boolean

if set to true, pending session will not be automatically closed when disconnect is called

Optional keepSessionAlive

keepSessionAlive: boolean

can be set when the client doesn't create subscription. In this case, the client will send a dummy request on a regular basis to keep the connection active.

default

false

Optional privateKeyFile

privateKeyFile: string

client private key pem file.

default

`${clientCertificateManager/rootFolder}/own/private/private_key.pem"

Optional securityMode

securityMode: string | MessageSecurityMode

the security mode

default

MessageSecurityMode.None

Optional securityPolicy

securityPolicy: string

the security policy

default

SecurityPolicy.None

Optional serverCertificate

serverCertificate: Buffer

the server certificate.

Optional tokenRenewalInterval

tokenRenewalInterval: number

if not specify or set to 0 , token renewal will happen around 75% of the defaultSecureTokenLifetime

Generated using TypeDoc