onMessageOut (event)

Fires when the class sends a message.

Syntax

- (void)onMessageOut:(NSString*)sessionName :(int)sessionIndex :(NSString*)linkName :(int)linkIndex :(NSString*)messageId;
func onMessageOut(_ sessionName: String, _ sessionIndex: Int32, _ linkName: String, _ linkIndex: Int32, _ messageId: String)

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 iOS Edition - Version 20.0 [Build 8265]