Interface UnsubackOutboundOutput
-
- All Superinterfaces:
SimpleAsyncOutput<UnsubackOutboundOutput>
@DoNotImplement public interface UnsubackOutboundOutput extends SimpleAsyncOutput<UnsubackOutboundOutput>
This is the output parameter of anyUnsubackOutboundInterceptor
.It can be used to modify an outbound UNSUBACK packet.
- Since:
- 4.3.0, CE 2020.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ModifiableUnsubackPacket
getUnsubackPacket()
Use this object to make any changes to the outbound UNSUBACK.-
Methods inherited from interface com.hivemq.extension.sdk.api.async.SimpleAsyncOutput
async
-
-
-
-
Method Detail
-
getUnsubackPacket
@NotNull ModifiableUnsubackPacket getUnsubackPacket()
Use this object to make any changes to the outbound UNSUBACK.For MQTT 3 clients you should skip modifying this packet, as the changeable properties only exists since MQTT 5 and will therefore not be send to the MQTT 3 client. You can find out the MQTT version via the
ClientBasedInput.getConnectionInformation()
.- Returns:
- A modifiable UNSUBACK packet.
- Since:
- 4.3.0, CE 2020.1
-
-