public static enum Connection.Type extends Enum<Connection.Type>
Enum Constant and Description |
---|
IP_Bridged
The Internet Gateway is an Ethernet bridge between the LAN and the WAN connection.
|
IP_Routed
The Internet Gateway is an IP router between the LAN and the WAN connection.
|
Unconfigured
Valid connection types cannot be identified.
|
Modifier and Type | Method and Description |
---|---|
static Connection.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.Type Unconfigured
public static final Connection.Type IP_Routed
public static final Connection.Type IP_Bridged
public static Connection.Type[] values()
for (Connection.Type c : Connection.Type.values()) System.out.println(c);
public static Connection.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 © 2016 4th Line GmbH, Switzerland. All rights reserved.