Interface ModifiableWillPublish
-
- All Superinterfaces:
ModifiablePublishPacket
,PublishPacket
,WillPublishPacket
public interface ModifiableWillPublish extends WillPublishPacket, ModifiablePublishPacket
- Since:
- 4.2.0, CE 2020.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setWillDelay(long willDelay)
Sets the will delay.-
Methods inherited from interface com.hivemq.extension.sdk.api.packets.publish.ModifiablePublishPacket
getUserProperties, setContentType, setCorrelationData, setMessageExpiryInterval, setPayload, setPayloadFormatIndicator, setQos, setResponseTopic, setRetain, setTopic
-
Methods inherited from interface com.hivemq.extension.sdk.api.packets.publish.PublishPacket
getContentType, getCorrelationData, getDupFlag, getMessageExpiryInterval, getPacketId, getPayload, getPayloadFormatIndicator, getQos, getResponseTopic, getRetain, getSubscriptionIdentifiers, getTopic
-
Methods inherited from interface com.hivemq.extension.sdk.api.packets.connect.WillPublishPacket
getTimestamp, getWillDelay
-
-
-
-
Method Detail
-
setWillDelay
void setWillDelay(long willDelay)
Sets the will delay.- Parameters:
willDelay
- The new will delay for the will publish in seconds.- Throws:
IllegalArgumentException
- If the delay is less than zero or more than '4294967295'.- Since:
- 4.2.0, CE 2020.1
-
-