public static interface StompSession.Receiptable
修飾子と型 | メソッドと説明 |
---|---|
void | addReceiptLostTask(RunnableSE runnable) 設定された時間内にレシートが受信されない場合に呼び出すタスク。 |
void | addReceiptTask(RunnableSE runnable) 領収書を受け取ったときに呼び出すタスク。 |
StringSE | getReceiptId() 受信 ID、またはハンドルが返された STOMP フレームに「受信」ヘッダーがなかった場合は null を返します。 |
@Nullable StringSE getReceiptId()
null
を返します。void addReceiptTask(RunnableSE runnable)
IllegalArgumentExceptionSE
- receiptId が null
の場合 void addReceiptLostTask(RunnableSE runnable)
IllegalArgumentExceptionSE
- receiptId が null
の場合 StompClientSupport.setReceiptTimeLimit(long)