Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Hierarchy

Index

Constructors

constructor

Properties

capabilitiesForMDNS

capabilitiesForMDNS: string[]

Readonly certificateFile

certificateFile: string

endpoints

endpoints: OPCUAServerEndPoint[]

Readonly privateKeyFile

privateKeyFile: string

Readonly serverCertificateManager

serverCertificateManager: OPCUACertificateManager

serverInfo

Static makeServiceFault

makeServiceFault: (statusCode: StatusCode, messages: string[]) => ServiceFault

Type declaration

Accessors

serverType

  • The type of server

    Returns ApplicationType

Methods

getCertificate

  • getCertificate(): Buffer

getCertificateChain

  • getCertificateChain(): Buffer

getDiscoveryUrls

  • getDiscoveryUrls(): string[]
  • Returns string[]

getEndpointUrl

  • getEndpointUrl(): string
  • get one of the possible endpointUrl

    Returns string

getPrivateKey

  • getPrivateKey(): string

getServers

initializeCM

  • initializeCM(): Promise<void>
  • Returns Promise<void>

resumeEndPoints

  • resumeEndPoints(): Promise<void>
  • resumeEndPoints(callback: (err?: Error) => void): void
  • set all the end point into a state where they do accept connections note: this method is useful for testing purpose

    Returns Promise<void>

  • Parameters

    • callback: (err?: Error) => void
        • (err?: Error): void
        • Parameters

          • Optional err: Error

          Returns void

    Returns void

shutdown

  • shutdown(done: (err?: Error) => void): void
  • shutdown all server endPoints

    async

    Parameters

    • done: (err?: Error) => void
        • (err?: Error): void
        • Parameters

          • Optional err: Error

          Returns void

    Returns void

shutdownChannels

  • shutdownChannels(): Promise<void>
  • shutdownChannels(callback: (err?: Error) => void): void
  • Returns Promise<void>

  • Parameters

    • callback: (err?: Error) => void
        • (err?: Error): void
        • Parameters

          • Optional err: Error

          Returns void

    Returns void

start

  • start(done: (err?: Error) => void): void
  • start all registered endPoint, in parallel, and call done when all endPoints are listening.

    method

    start

    async

    Parameters

    • done: (err?: Error) => void
        • (err?: Error): void
        • Parameters

          • Optional err: Error

          Returns void

    Returns void

suspendEndPoints

  • suspendEndPoints(): Promise<void>
  • suspendEndPoints(callback: (err?: Error) => void): void
  • set all the end point into a state where they do not accept further connections

    note: this method is useful for testing purpose

    Returns Promise<void>

  • Parameters

    • callback: (err?: Error) => void
        • (err?: Error): void
        • Parameters

          • Optional err: Error

          Returns void

    Returns void

Generated using TypeDoc