public enum TdbInterfaceType extends java.lang.Enum<TdbInterfaceType>
Enum Constant and Description |
---|
ANY
Any connection type at all
|
GRID
Web service connection to a TRIPgrid router
|
LOCAL
Local connection via direct DLL linkage, currently unsupported
|
NET
TRIPnet connection
|
PHYSICAL
Any physical connection, i.e. anything but a TRIPgrid router
|
WEB
Web service connection to a standalone server
|
Modifier and Type | Method and Description |
---|---|
boolean |
supports(TdbInterfaceType check)
Check the provided interface type, see if the current type supports
that connection.
|
static TdbInterfaceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbInterfaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TdbInterfaceType LOCAL
public static final TdbInterfaceType NET
public static final TdbInterfaceType WEB
public static final TdbInterfaceType GRID
public static final TdbInterfaceType PHYSICAL
public static final TdbInterfaceType ANY
public static TdbInterfaceType[] values()
for (TdbInterfaceType c : TdbInterfaceType.values()) System.out.println(c);
public static TdbInterfaceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean supports(TdbInterfaceType check)
check
- The interface type to check