public static enum Selector.Type extends Enum<Selector.Type>
Enum Constant and Description |
---|
ADD_CONNECTION |
ALL |
CONNECT |
CONNECT_FAILED |
CONNECTED |
CONNECTION_LOST |
DISCONNECT |
DISCONNECT_FAILED |
DISCONNECTED |
PUBLISH |
PUBLISH_FAILED |
PUBLISHED |
RECEIVED |
RENAME_CONNECTION |
SUBSCRIBE |
SUBSCRIBE_FAILED |
SUBSCRIBED |
UNSUBSCRIBE |
UNSUBSCRIBE_FAILED |
UNSUBSCRIBED |
Modifier and Type | Method and Description |
---|---|
static Selector.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Selector.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Selector.Type ALL
public static final Selector.Type ADD_CONNECTION
public static final Selector.Type RENAME_CONNECTION
public static final Selector.Type CONNECT
public static final Selector.Type DISCONNECT
public static final Selector.Type PUBLISH
public static final Selector.Type SUBSCRIBE
public static final Selector.Type UNSUBSCRIBE
public static final Selector.Type CONNECTED
public static final Selector.Type DISCONNECTED
public static final Selector.Type PUBLISHED
public static final Selector.Type SUBSCRIBED
public static final Selector.Type UNSUBSCRIBED
public static final Selector.Type RECEIVED
public static final Selector.Type CONNECT_FAILED
public static final Selector.Type CONNECTION_LOST
public static final Selector.Type DISCONNECT_FAILED
public static final Selector.Type PUBLISH_FAILED
public static final Selector.Type SUBSCRIBE_FAILED
public static final Selector.Type UNSUBSCRIBE_FAILED
public static Selector.Type[] values()
for (Selector.Type c : Selector.Type.values()) System.out.println(c);
public static Selector.Type 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 nullCopyright © 2018 Eclipse Paho. All rights reserved.