Receiptable

A handle to use to track receipts. @see #setAutoReceipt()

Members

Functions

addReceiptLostTask
void addReceiptLostTask(Runnable runnable)

Task to invoke when a receipt is not received in the configured time. @throws java.lang.IllegalArgumentException if the receiptId is {@code null} @see hunt.stomp.simp.stomp.StompClientSupport#setReceiptTimeLimit(long)

addReceiptTask
void addReceiptTask(Runnable runnable)

Task to invoke when a receipt is received. @throws java.lang.IllegalArgumentException if the receiptId is {@code null}

getReceiptId
string getReceiptId()

Return the receipt id, or {@code null} if the STOMP frame for which the handle was returned did not have a "receipt" header.

Meta