Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Pseudo session is an helper object that exposes the same async methods than the ClientSession. It can be used on a server address space.

Code reused ! The primary benefit of this object is that its makes advanced OPCUA operations that uses browse, translate, read, write etc similar whether we work inside a server or through a client session.

param

Hierarchy

  • PseudoSession

Implements

Index

Constructors

constructor

Properties

requestedMaxReferencesPerNode

requestedMaxReferencesPerNode: number

server

server: IServerBase

session

session: ISessionBase

Methods

browse

  • browse(nodeToBrowse: BrowseDescriptionLike, callback: ResponseCallback<BrowseResult>): void
  • browse(nodesToBrowse: BrowseDescriptionLike[], callback: ResponseCallback<BrowseResult[]>): void
  • browse(nodeToBrowse: BrowseDescriptionLike): Promise<BrowseResult>
  • browse(nodesToBrowse: BrowseDescriptionLike[]): Promise<BrowseResult[]>
  • Parameters

    • nodeToBrowse: BrowseDescriptionLike
    • callback: ResponseCallback<BrowseResult>

    Returns void

  • Parameters

    • nodesToBrowse: BrowseDescriptionLike[]
    • callback: ResponseCallback<BrowseResult[]>

    Returns void

  • Parameters

    • nodeToBrowse: BrowseDescriptionLike

    Returns Promise<BrowseResult>

  • Parameters

    • nodesToBrowse: BrowseDescriptionLike[]

    Returns Promise<BrowseResult[]>

browseNext

  • browseNext(continuationPoint: Buffer, releaseContinuationPoints: boolean, callback: ResponseCallback<BrowseResult>): void
  • browseNext(continuationPoints: Buffer[], releaseContinuationPoints: boolean, callback: ResponseCallback<BrowseResult[]>): void
  • browseNext(continuationPoint: Buffer, releaseContinuationPoints: boolean): Promise<BrowseResult>
  • browseNext(continuationPoints: Buffer[], releaseContinuationPoints: boolean): Promise<BrowseResult[]>
  • Parameters

    • continuationPoint: Buffer
    • releaseContinuationPoints: boolean
    • callback: ResponseCallback<BrowseResult>

    Returns void

  • Parameters

    • continuationPoints: Buffer[]
    • releaseContinuationPoints: boolean
    • callback: ResponseCallback<BrowseResult[]>

    Returns void

  • Parameters

    • continuationPoint: Buffer
    • releaseContinuationPoints: boolean

    Returns Promise<BrowseResult>

  • Parameters

    • continuationPoints: Buffer[]
    • releaseContinuationPoints: boolean

    Returns Promise<BrowseResult[]>

call

getArgumentDefinition

getSessionId

  • Returns NodeId

read

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns Promise<DataValue>

  • Parameters

    Returns Promise<DataValue[]>

translateBrowsePath

write

Generated using TypeDoc