public static enum ZMonitor.Event extends Enum<ZMonitor.Event>
| Enum Constant and Description |
|---|
ACCEPT_FAILED |
ACCEPTED |
ALL |
BIND_FAILED |
CLOSE_FAILED |
CLOSED |
CONNECT_DELAYED |
CONNECT_RETRIED |
CONNECTED |
DISCONNECTED |
HANDSHAKE_PROTOCOL |
LISTENING |
MONITOR_STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static ZMonitor.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZMonitor.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZMonitor.Event CONNECTED
public static final ZMonitor.Event CONNECT_DELAYED
public static final ZMonitor.Event CONNECT_RETRIED
public static final ZMonitor.Event LISTENING
public static final ZMonitor.Event BIND_FAILED
public static final ZMonitor.Event ACCEPTED
public static final ZMonitor.Event ACCEPT_FAILED
public static final ZMonitor.Event CLOSED
public static final ZMonitor.Event CLOSE_FAILED
public static final ZMonitor.Event DISCONNECTED
public static final ZMonitor.Event MONITOR_STOPPED
public static final ZMonitor.Event HANDSHAKE_PROTOCOL
public static final ZMonitor.Event ALL
public static ZMonitor.Event[] values()
for (ZMonitor.Event c : ZMonitor.Event.values()) System.out.println(c);
public static ZMonitor.Event 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 © 2020. All rights reserved.