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_FAILED_AUTH |
HANDSHAKE_FAILED_NO_DETAIL |
HANDSHAKE_FAILED_PROTOCOL |
HANDSHAKE_PROTOCOL |
HANDSHAKE_SUCCEEDED |
LISTENING |
MONITOR_STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static ZMonitor.Event |
findByCode(int event)
Find the
ZMonitor.Event associated with the numerical event code. |
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_FAILED_NO_DETAIL
public static final ZMonitor.Event HANDSHAKE_SUCCEEDED
public static final ZMonitor.Event HANDSHAKE_FAILED_PROTOCOL
public static final ZMonitor.Event HANDSHAKE_FAILED_AUTH
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 nullpublic static ZMonitor.Event findByCode(int event)
ZMonitor.Event associated with the numerical event code.event - the numerical event codeZMonitor.EventCopyright © 2022. All rights reserved.