public static enum NetworkConfiguration.ConnectType extends Enum<NetworkConfiguration.ConnectType>
Enum Constant and Description |
---|
DIRECT
If selected, we will connect directly
|
SOCKS_PROXY
If selected, we will use a socks proxy to connect
|
Modifier and Type | Method and Description |
---|---|
static NetworkConfiguration.ConnectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkConfiguration.ConnectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkConfiguration.ConnectType SOCKS_PROXY
public static final NetworkConfiguration.ConnectType DIRECT
public static NetworkConfiguration.ConnectType[] values()
for (NetworkConfiguration.ConnectType c : NetworkConfiguration.ConnectType.values()) System.out.println(c);
public static NetworkConfiguration.ConnectType 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 © 2021 Actian Corporation. All rights reserved.