IPWorks IoT 2020 C++ Builder Edition

Questions / Feedback?

MessageOut Event

Fired after a message has been sent.

Syntax

typedef struct {
  String Destination;
  String Data;
  DynamicArray<Byte> DataB;
  String ContentType;
} TiotSTOMPMessageOutEventParams;

typedef void __fastcall (__closure *TiotSTOMPMessageOutEvent)(System::TObject* Sender, TiotSTOMPMessageOutEventParams *e);

__property TiotSTOMPMessageOutEvent OnMessageOut = { read=FOnMessageOut, write=FOnMessageOut };

Remarks

This event fires after a message has been sent using either SendMessage or SendData. The following parameters are available within this event:

  • Destination: The destination the message was sent to.
  • Data: The message's payload.
  • ContentType: The content type of the message (always empty for messages sent with SendData).

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