Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OPCUAClientBaseOptions

Hierarchy

Index

Properties

Optional applicationName

applicationName: string

the client application name

default

"NodeOPCUA-Client"

Optional certificateFile

certificateFile: string

client certificate pem file.

default

"certificates/client_selfsigned_cert_2048.pem"

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

"certificates/client_key_2048.pem"

Optional securityMode

securityMode: MessageSecurityMode | string

the security mode

default

MessageSecurityMode.None

Optional securityPolicy

securityPolicy: SecurityPolicy | string

the security policy

default

SecurityPolicy.None

Optional serverCertificate

serverCertificate: Certificate

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