abstract fun ack(id: String): StompClientConnection
Sends an acknowledgement for a specific message. It means that the message has been handled and processed by the client. The id parameter is the message id received in the frame.
id - the message id of the message to acknowledge
Return
the current StompClientConnection
abstract fun ack(id: String, receiptHandler: Handler<Frame>): StompClientConnection
Sends an acknowledgement for a specific message. It means that the message has been handled and processed by the client. The id parameter is the message id received in the frame.
id - the message id of the message to acknowledge
receiptHandler - the handler invoked when the RECEIPT frame associated with the acknowledgment has been processed by the server. The handler receives the sent frame (ACK).
Return
the current StompClientConnection
abstract fun ack(id: String, txId: String): StompClientConnection
Sends an acknowledgement for the given frame. It means that the frame has been handled and processed by the client. The sent acknowledgement is part of the transaction identified by the given id.
id - the message id of the message to acknowledge
Return
the current StompClientConnection
abstract fun ack(id: String, txId: String, receiptHandler: Handler<Frame>): StompClientConnection
Sends an acknowledgement for the given frame. It means that the frame has been handled and processed by the client. The sent acknowledgement is part of the transaction identified by the given id.
id - the message id of the message to acknowledge
receiptHandler - the handler invoked when the RECEIPT frame associated with the acknowledgment has been processed by the server. The handler receives the sent frame (ACK).
Return
the current StompClientConnection