API Docs for: 0.0.57
Show:

MessageBuilderBase Class

Extends EventEmitter
Module: opcua.miscellaneous

Constructor

MessageBuilderBase

(
  • options
)

Parameters:

  • options Object
    • [signatureLength=0] Number optional

Item Index

Methods

Methods

_append

(
  • message_chunk
)
private

append a message chunk

Parameters:

  • message_chunk Object

feed

(
  • data
)

Feed message builder with some data

Parameters:

  • data Object

Events

chunk

notify the observers that new message chunk has been received

Event Payload:

  • messageChunk Buffer

    the raw message chunk

error

notify the observers that an error has occurred

Event Payload:

  • error Error

    the error to raise

full_message_body

notify the observers that a full message has been received

Event Payload:

  • full_message_body Buffer

    the full message body made of all concatenated chunks.

start_chunk

notify the observers that a new message is being built

Event Payload:

  • info Object
  • data Object