Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OPCUAServerEndPoint

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

  • ServerSecureChannelParent

Index

Constructors

constructor

Properties

Optional _on_close_channel

_on_close_channel: function

Type declaration

    • (channel: ServerSecureChannelLayer): void
    • Parameters

      • channel: ServerSecureChannelLayer

      Returns void

Optional _on_new_channel

_on_new_channel: function

Type declaration

    • (channel: ServerSecureChannelLayer): void
    • Parameters

      • channel: ServerSecureChannelLayer

      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

serverInfo: ApplicationDescription

timeout

timeout: number

transactionsCountOldChannels

transactionsCountOldChannels: number

Static defaultMaxListeners

defaultMaxListeners: number

Accessors

activeChannelCount

  • get activeChannelCount(): number

bytesRead

  • get bytesRead(): number

bytesWritten

  • get bytesWritten(): number

currentChannelCount

  • get currentChannelCount(): number

securityTokenCount

  • get securityTokenCount(): number

transactionsCount

  • get transactionsCount(): number

Methods

abruptlyInterruptChannels

  • abruptlyInterruptChannels(): void

addEndpointDescription

  • addEndpointDescription(securityMode: MessageSecurityMode, securityPolicy: SecurityPolicy, options?: EndpointDescriptionParams): void

addListener

  • addListener(event: string | symbol, listener: function): this
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns this

addRestrictedEndpointDescription

addStandardEndpointDescriptions

dispose

  • dispose(): void

emit

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

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

    Returns boolean

endpointDescriptions

  • endpointDescriptions(): EndpointDescription[]

eventNames

  • eventNames(): Array<string | symbol>
  • Returns Array<string | symbol>

getCertificate

getCertificateChain

getChannels

  • getChannels(): ServerSecureChannelLayer[]

getEndpointDescription

  • getEndpointDescription(securityMode: MessageSecurityMode, securityPolicy: SecurityPolicy, endpointUrl?: string): EndpointDescription | null
  • method

    getEndpointDescription

    Parameters

    • securityMode: MessageSecurityMode
    • securityPolicy: SecurityPolicy
    • Optional endpointUrl: string

    Returns EndpointDescription | null

    endpoint_description {EndpointDescription|null}

getMaxListeners

  • getMaxListeners(): number
  • Returns number

getPrivateKey

  • getPrivateKey(): PrivateKeyPEM

killClientSockets

  • killClientSockets(callback: function): void

listen

  • listen(callback: function): void

listenerCount

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

    • type: string | symbol

    Returns number

listeners

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

    • event: string | symbol

    Returns Function[]

off

  • off(event: string | symbol, listener: function): this
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns this

on

  • on(event: string | symbol, listener: function): this
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns this

once

  • once(event: string | symbol, listener: function): this
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns this

prependListener

  • prependListener(event: string | symbol, listener: function): this
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns this

prependOnceListener

  • prependOnceListener(event: string | symbol, listener: function): this
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns this

rawListeners

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

    • event: string | symbol

    Returns Function[]

removeAllListeners

  • removeAllListeners(event?: string | symbol): this
  • Parameters

    • Optional event: string | symbol

    Returns this

removeListener

  • removeListener(event: string | symbol, listener: function): this
  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns this

restoreConnection

  • restoreConnection(callback: function): void

setMaxListeners

  • setMaxListeners(n: number): this
  • Parameters

    • n: number

    Returns this

shutdown

  • shutdown(callback: function): void

start

  • start(callback: function): void

suspendConnection

  • suspendConnection(callback: function): void

toString

  • toString(): string

Static listenerCount

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

    since v4.0.0

    Parameters

    • emitter: EventEmitter
    • event: string | symbol

    Returns number

Generated using TypeDoc