IPWorks IoT 2020 C++ Builder Edition

Questions / Feedback?

ReceiptOut Event

Fires when the component sends a STOMP frame that includes a 'receipt' header.

Syntax

typedef struct {
  String ReceiptId;
} TiotSTOMPReceiptOutEventParams;

typedef void __fastcall (__closure *TiotSTOMPReceiptOutEvent)(System::TObject* Sender, TiotSTOMPReceiptOutEventParams *e);

__property TiotSTOMPReceiptOutEvent OnReceiptOut = { read=FOnReceiptOut, write=FOnReceiptOut };

Remarks

This event fires anytime the component sends any STOMP frame that includes a receipt header on it. The ReceiptId parameter reflects the value of the receipt header.

Having a receipt header on an outgoing frame indicates to the server that it should send back a receipt to confirm that it has received the frame (though it is not required to do so immediately; see ReceiptIn for details). Anytime the server sends back a receipt, the ReceiptIn event will fire.

Refer to RequestReceipts for more information about receipts.

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