Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Hierarchy

Index

Constructors

constructor

Properties

Readonly applicationName

applicationName: string

Readonly bytesRead

bytesRead: number

Readonly bytesWritten

bytesWritten: number

Readonly certificateFile

certificateFile: string

Readonly clientName

clientName: string

Readonly connectionStrategy

connectionStrategy: ConnectionStrategy

Readonly defaultSecureTokenLifetime

defaultSecureTokenLifetime: number

Optional Readonly endpoint

Readonly endpointUrl

endpointUrl: string

Readonly isReconnecting

isReconnecting: boolean

Readonly keepPendingSessionsOnDisconnect

keepPendingSessionsOnDisconnect: boolean

Readonly keepSessionAlive

keepSessionAlive: boolean

Readonly knowsServerEndpoint

knowsServerEndpoint: boolean

Readonly privateKeyFile

privateKeyFile: string

Readonly protocolVersion

protocolVersion: 0

Readonly reconnectOnFailure

reconnectOnFailure: boolean

Readonly securityMode

securityMode: MessageSecurityMode

Readonly securityPolicy

securityPolicy: SecurityPolicy

Optional Readonly serverCertificate

serverCertificate: Buffer

Readonly tokenRenewalInterval

tokenRenewalInterval: number

Readonly transactionsPerformed

transactionsPerformed: number

Static registry

registry: ObjectRegistry = ...

Methods

addListener

  • addListener(event: string | symbol, listener: (...args: any[]) => void): OPCUAClientBase
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns OPCUAClientBase

connect

  • connect(endpointUrl: string): Promise<void>
  • connect(endpointUrl: string, callback: ErrorCallback): void

disconnect

  • disconnect(): Promise<void>
  • disconnect(callback: ErrorCallback): void

emit

  • emit(event: string | symbol, ...args: any[]): boolean
  • Parameters

    • event: string | symbol
    • Rest ...args: any[]

    Returns boolean

eventNames

  • eventNames(): (string | symbol)[]

findEndpointForSecurity

findServers

findServersOnNetwork

getCertificate

  • getCertificate(): Buffer

getCertificateChain

  • getCertificateChain(): Buffer

getEndpoints

getMaxListeners

  • getMaxListeners(): number

getPrivateKey

  • getPrivateKey(): string

listenerCount

  • listenerCount(event: string | symbol): number

listeners

  • listeners(event: string | symbol): Function[]
  • Parameters

    • event: string | symbol

    Returns Function[]

off

  • off(event: string | symbol, listener: (...args: any[]) => void): OPCUAClientBase
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns OPCUAClientBase

on

  • on(event: "connected", eventHandler: () => void): OPCUAClientBase
  • on(event: "connection_failed", eventHandler: (err: Error) => void): OPCUAClientBase
  • on(event: "backoff", eventHandler: (count: number, delay: number) => void): OPCUAClientBase
  • on(event: "start_reconnection", eventHandler: () => void): OPCUAClientBase
  • on(event: "reconnection_attempt_has_failed", eventHandler: (err: Error, message: string) => void): OPCUAClientBase
  • on(event: "after_reconnection", eventHandler: (err?: Error) => void): OPCUAClientBase
  • on(event: "abort", eventHandler: () => void): OPCUAClientBase
  • on(event: "close", eventHandler: () => void): OPCUAClientBase
  • on(event: "send_chunk", eventHandler: (chunk: Buffer) => void): OPCUAClientBase
  • on(event: "receive_chunk", eventHandler: (chunk: Buffer) => void): OPCUAClientBase
  • on(event: "send_request", eventHandler: (request: Request) => void): OPCUAClientBase
  • on(event: "receive_response", eventHandler: (response: Response) => void): OPCUAClientBase
  • on(event: "lifetime_75", eventHandler: (token: SecurityToken) => void): OPCUAClientBase
  • on(event: "security_token_renewed", eventHandler: () => void): OPCUAClientBase
  • on(event: "connection_lost", eventHandler: () => void): OPCUAClientBase
  • on(event: "connection_reestablished", eventHandler: () => void): OPCUAClientBase
  • on(event: "timed_out_request", eventHandler: (request: Request) => void): OPCUAClientBase
  • on(event: string | symbol, listener: (...args: any[]) => void): OPCUAClientBase

once

  • once(event: string | symbol, listener: (...args: any[]) => void): OPCUAClientBase
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns OPCUAClientBase

prependListener

  • prependListener(event: string | symbol, listener: (...args: any[]) => void): OPCUAClientBase
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns OPCUAClientBase

prependOnceListener

  • prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): OPCUAClientBase
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns OPCUAClientBase

rawListeners

  • rawListeners(event: string | symbol): Function[]
  • Parameters

    • event: string | symbol

    Returns Function[]

removeAllListeners

removeListener

  • removeListener(event: string | symbol, listener: (...args: any[]) => void): OPCUAClientBase
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns OPCUAClientBase

setMaxListeners

Static create

Generated using TypeDoc