Interface UnsubackOutboundOutput
- All Superinterfaces:
SimpleAsyncOutput<UnsubackOutboundOutput>
@DoNotImplement public interface UnsubackOutboundOutput extends SimpleAsyncOutput<UnsubackOutboundOutput>
This is the output parameter of any
UnsubackOutboundInterceptor.
It can be used to modify an outbound UNSUBACK packet.
- Since:
- 4.3.0, CE 2020.1
-
Method Summary
Modifier and Type Method Description @NotNull ModifiableUnsubackPacketgetUnsubackPacket()Use this object to make any changes to the outbound UNSUBACK.
-
Method Details
-
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
-