-
Method Summary
| Modifier and Type |
Method |
Description |
void |
setWillDelay(long willDelay) |
Sets the will delay.
|
Methods inherited from interface com.hivemq.extension.sdk.api.packets.publish.PublishPacket
getContentType, getCorrelationData, getDupFlag, getMessageExpiryInterval, getPacketId, getPayload, getPayloadFormatIndicator, getQos, getResponseTopic, getRetain, getSubscriptionIdentifiers, getTopic
-
Method Details
-
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