public static enum Client.ShutdownContext.ShutdownReason extends Enum<Client.ShutdownContext.ShutdownReason>
| Enum Constant and Description |
|---|
CLIENT_CLOSE |
HEARTBEAT_FAILURE |
SERVER_CLOSE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Client.ShutdownContext.ShutdownReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Client.ShutdownContext.ShutdownReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.ShutdownContext.ShutdownReason CLIENT_CLOSE
public static final Client.ShutdownContext.ShutdownReason SERVER_CLOSE
public static final Client.ShutdownContext.ShutdownReason HEARTBEAT_FAILURE
public static final Client.ShutdownContext.ShutdownReason UNKNOWN
public static Client.ShutdownContext.ShutdownReason[] values()
for (Client.ShutdownContext.ShutdownReason c : Client.ShutdownContext.ShutdownReason.values()) System.out.println(c);
public static Client.ShutdownContext.ShutdownReason 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 © 2022 VMware, Inc. or its affiliates.. All rights reserved.