Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Index

Type aliases

ClosingReason

ClosingReason: "Timeout" | "Terminated" | "CloseSession" | "Forcing"

Counter

Counter: number

CreateMonitoredItemHook

CreateMonitoredItemHook: (subscription: Subscription, monitoredItem: MonitoredItemBase) => Promise<StatusCode>

Type declaration

DeleteMonitoredItemHook

DeleteMonitoredItemHook: (subscription: Subscription, monitoredItem: MonitoredItemBase) => Promise<StatusCode>

Type declaration

Notification

QueueItem

StringGetter

StringGetter: () => string

Type declaration

    • (): string
    • Returns string

ValidUserAsyncFunc

ValidUserAsyncFunc: (this: ServerSession, username: string, password: string, callback: (err: Error | null, isAuthorized?: boolean) => void) => void

Type declaration

    • (this: ServerSession, username: string, password: string, callback: (err: Error | null, isAuthorized?: boolean) => void): void
    • Parameters

      • this: ServerSession
      • username: string
      • password: string
      • callback: (err: Error | null, isAuthorized?: boolean) => void
          • (err: Error | null, isAuthorized?: boolean): void
          • Parameters

            • err: Error | null
            • Optional isAuthorized: boolean

            Returns void

      Returns void

ValidUserFunc

ValidUserFunc: (this: ServerSession, username: string, password: string) => boolean

Type declaration

    • (this: ServerSession, username: string, password: string): boolean
    • Parameters

      Returns boolean

Events

RegisterServerManager

RegisterServerManager:

RegisterServerManager is responsible to Register an opcua server on a LDS or LDS-ME server This class takes in charge :

  • the initial registration of a server
  • the regular registration renewal (every 8 minutes or so ...)
  • dealing with cases where LDS is not up and running when server starts. ( in this case the connection will be continuously attempted using the infinite back-off strategy
  • the un-registration of the server ( during shutdown for instance)

Events:

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 rained

param
param
param

constructor

discoveryServerEndpointUrl

discoveryServerEndpointUrl: string

timeout

timeout: number

Readonly Static captureRejectionSymbol

captureRejectionSymbol: typeof captureRejectionSymbol

Static captureRejections

captureRejections: boolean

Sets or gets the default captureRejection value for all emitters.

Static defaultMaxListeners

defaultMaxListeners: number

Readonly Static errorMonitor

errorMonitor: typeof errorMonitor

This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

Installing a listener using this symbol does not change the behavior once an 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

_emitEvent

  • _emitEvent(eventName: string): void
  • Parameters

    • eventName: string

    Returns void

_establish_initial_connection

  • _establish_initial_connection(outer_callback: ErrorCallback): void
  • Parameters

    Returns void

_setState

  • Parameters

    Returns void

_trigger_next

  • _trigger_next(): void
  • Returns void

addListener

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns RegisterServerManager

dispose

  • dispose(): void
  • Returns void

emit

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

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

    Returns boolean

eventNames

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

getMaxListeners

  • getMaxListeners(): number
  • Returns number

listenerCount

  • listenerCount(event: string | symbol): number
  • Parameters

    • event: string | symbol

    Returns number

listeners

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

    • event: string | symbol

    Returns Function[]

off

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns RegisterServerManager

on

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns RegisterServerManager

once

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns RegisterServerManager

prependListener

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns RegisterServerManager

prependOnceListener

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns RegisterServerManager

rawListeners

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

    • event: string | symbol

    Returns Function[]

removeAllListeners

  • Parameters

    • Optional event: string | symbol

    Returns RegisterServerManager

removeListener

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns RegisterServerManager

setMaxListeners

start

  • Parameters

    Returns void

stop

  • Parameters

    Returns void

Static listenerCount

  • listenerCount(emitter: EventEmitter, event: string | symbol): number
  • deprecated

    since v4.0.0

    Parameters

    • emitter: EventEmitter
    • event: string | symbol

    Returns number

Static on

  • on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>
  • Parameters

    • emitter: EventEmitter
    • event: string

    Returns AsyncIterableIterator<any>

Static once

  • once(emitter: NodeEventTarget, event: string | symbol): Promise<any[]>
  • once(emitter: DOMEventTarget, event: string): Promise<any[]>
  • Parameters

    • emitter: NodeEventTarget
    • event: string | symbol

    Returns Promise<any[]>

  • Parameters

    • emitter: DOMEventTarget
    • event: string

    Returns Promise<any[]>

Generated using TypeDoc