IPWorks IoT 2020 Node.js Edition

Questions / Feedback?

MessageOut Event

Fires when the class sends a message.

Syntax

amqp.on('MessageOut', [callback])

Callback

The 'callback' is called when the 'MessageOut' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.sessionName
e.sessionIndex
e.linkName
e.linkIndex
e.messageId

Remarks

This event fires whenever the class sends a message.

SessionName is the name of the session the message was transmitted on.

SessionIndex is the index of the session in the Session* properties.

LinkName is the name of the link the message was transmitted on.

LinkIndex is the index of the link in the Link* properties.

MessageId is the Id of the message; it may be empty if a message Id was not set.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 Node.js Edition - Version 20.0 [Build 8265]