public static enum MqttSubscriptionOption.RetainedHandlingPolicy extends Enum<MqttSubscriptionOption.RetainedHandlingPolicy>
Enum Constant and Description |
---|
DONT_SEND_AT_SUBSCRIBE |
SEND_AT_SUBSCRIBE |
SEND_AT_SUBSCRIBE_IF_NOT_YET_EXISTS |
Modifier and Type | Method and Description |
---|---|
int |
value() |
static MqttSubscriptionOption.RetainedHandlingPolicy |
valueOf(int value) |
static MqttSubscriptionOption.RetainedHandlingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttSubscriptionOption.RetainedHandlingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttSubscriptionOption.RetainedHandlingPolicy SEND_AT_SUBSCRIBE
public static final MqttSubscriptionOption.RetainedHandlingPolicy SEND_AT_SUBSCRIBE_IF_NOT_YET_EXISTS
public static final MqttSubscriptionOption.RetainedHandlingPolicy DONT_SEND_AT_SUBSCRIBE
public static MqttSubscriptionOption.RetainedHandlingPolicy[] values()
for (MqttSubscriptionOption.RetainedHandlingPolicy c : MqttSubscriptionOption.RetainedHandlingPolicy.values()) System.out.println(c);
public static MqttSubscriptionOption.RetainedHandlingPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int value()
public static MqttSubscriptionOption.RetainedHandlingPolicy valueOf(int value)
Copyright © 2008–2024 The Netty Project. All rights reserved.