Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

OPCUAServerEndPoint a Server EndPoint. A sever end point is listening to one port note: see OPCUA Release 1.03 part 4 page 108 7.1 ApplicationDescription

Hierarchy

  • EventEmitter
    • OPCUAServerEndPoint

Implements

Index

Constructors

constructor

Properties

Optional _on_close_channel

_on_close_channel: (channel: ServerSecureChannelLayer) => void

Type declaration

Optional _on_connectionRefused

_on_connectionRefused: (socketData: any) => void

Type declaration

    • (socketData: any): void
    • Parameters

      • socketData: any

      Returns void

Optional _on_new_channel

_on_new_channel: (channel: ServerSecureChannelLayer) => void

Type declaration

Optional _on_openSecureChannelFailure

_on_openSecureChannelFailure: (socketData: any, channelData: any) => void

Type declaration

    • (socketData: any, channelData: any): void
    • Parameters

      • socketData: any
      • channelData: any

      Returns void

bytesReadInOldChannels

bytesReadInOldChannels: number

bytesWrittenInOldChannels

bytesWrittenInOldChannels: number

certificateManager

certificateManager: OPCUACertificateManager

defaultSecureTokenLifetime

defaultSecureTokenLifetime: number

maxConnections

maxConnections: number

objectFactory

objectFactory: any

port

port: number

the tcp port

securityTokenCountOldChannels

securityTokenCountOldChannels: number

serverInfo

timeout

timeout: number

transactionsCountOldChannels

transactionsCountOldChannels: 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.

Accessors

activeChannelCount

  • get activeChannelCount(): number
  • Returns number

bytesRead

  • get bytesRead(): number
  • Returns number

bytesWritten

  • get bytesWritten(): number
  • Returns number

currentChannelCount

  • get currentChannelCount(): number
  • The number of active channel on this end point.

    Returns number

securityTokenCount

  • get securityTokenCount(): number
  • Returns number

transactionsCount

  • get transactionsCount(): number
  • Returns number

Methods

abruptlyInterruptChannels

  • abruptlyInterruptChannels(): void
  • Returns void

addEndpointDescription

addListener

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns OPCUAServerEndPoint

addRestrictedEndpointDescription

  • Parameters

    Returns void

addStandardEndpointDescriptions

dispose

  • dispose(): void
  • Returns void

emit

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

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

    Returns boolean

endpointDescriptions

  • returns the list of end point descriptions.

    Returns EndpointDescription[]

eventNames

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

getCertificate

  • getCertificate(): Buffer
  • Returns the X509 DER form of the server certificate

    Returns Buffer

getCertificateChain

  • getCertificateChain(): Buffer

getChannels

getEndpointDescription

getMaxListeners

  • getMaxListeners(): number
  • Returns number

getPrivateKey

  • getPrivateKey(): string

killClientSockets

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

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

          • Optional err: Error

          Returns void

    Returns void

listen

  • listen(callback: (err?: Error) => void): void
  • method

    listen

    async

    Parameters

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

          • Optional err: Error

          Returns void

    Returns void

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 OPCUAServerEndPoint

on

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns OPCUAServerEndPoint

once

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns OPCUAServerEndPoint

prependListener

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

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

          • Rest ...args: any[]

          Returns void

    Returns OPCUAServerEndPoint

prependOnceListener

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

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

          • Rest ...args: any[]

          Returns void

    Returns OPCUAServerEndPoint

rawListeners

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

    • event: string | symbol

    Returns Function[]

removeAllListeners

  • Parameters

    • Optional event: string | symbol

    Returns OPCUAServerEndPoint

removeListener

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

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

          • Rest ...args: any[]

          Returns void

    Returns OPCUAServerEndPoint

restoreConnection

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

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

          • Optional err: Error

          Returns void

    Returns void

setMaxListeners

  • Parameters

    • n: number

    Returns OPCUAServerEndPoint

shutdown

  • shutdown(callback: (err?: Error) => void): void
  • method

    shutdown

    async

    Parameters

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

          • Optional err: Error

          Returns void

    Returns void

start

  • start(callback: (err?: Error) => void): void
  • method

    start

    async

    Parameters

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

          • Optional err: Error

          Returns void

    Returns void

suspendConnection

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

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

          • Optional err: Error

          Returns void

    Returns void

toString

  • toString(): string
  • Returns string

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