File tree Expand file tree Collapse file tree
src/main/java/software/amazon/awssdk/crt/mqtt5 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,19 +203,18 @@ public Mqtt5ClientOperationStatistics getOperationStatistics() {
203203 }
204204
205205 /**
206- * Sends a publish acknowledgement for a QoS 1 PUBLISH that was previously acquired
206+ * Sends a publish acknowledgement packet for a QoS 1 PUBLISH that was previously acquired
207207 * for manual control.
208208 *
209209 * <p>To use manual publish acknowledgement control, call
210210 * {@link PublishReturn#acquirePublishAcknowledgementControl()} within the
211211 * {@link Mqtt5ClientOptions.PublishEvents#onMessageReceived} callback of a QoS 1 PUBLISH to obtain a
212- * {@link Mqtt5PublishAcknowledgementControlHandle}. Then call this method to send the PUBACK .</p>
212+ * {@link Mqtt5PublishAcknowledgementControlHandle}. Then call this method to send the publish acknowledgement .</p>
213213 *
214214 * @param publishAcknowledgementControlHandle An opaque handle obtained from
215215 * {@link PublishReturn#acquirePublishAcknowledgementControl()}.
216- * @throws CrtRuntimeException If the native client returns an error when invoking the publish acknowledgement.
217216 */
218- public void invokePublishAcknowledgement (Mqtt5PublishAcknowledgementControlHandle publishAcknowledgementControlHandle ) throws CrtRuntimeException {
217+ public void invokePublishAcknowledgement (Mqtt5PublishAcknowledgementControlHandle publishAcknowledgementControlHandle ) {
219218 mqtt5ClientInternalInvokePublishAcknowledgement (getNativeHandle (), publishAcknowledgementControlHandle .getControlId ());
220219 }
221220
You can’t perform that action at this time.
0 commit comments