Attempt to take the acknowledgement handle held by the wrapper. This will only succeed for the first caller; after the initial call, null will be returned. By taking the handle, the caller assumes responsibility for sending the acknowledgement packet associated with the incoming publish packet. Failing to trigger the acknowledgement will cause the broker to potentially re-send the publish.
Generated using TypeDoc
Wrapper class containing a one-use singleton handle that can be used to trigger sending the acknowledgement (Puback in QoS 1, Pubrec in QoS 2) packet for an incoming publish.