|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Characteristic.Physical>
org.jnetstream.protocol.Characteristic.Physical
public static enum Characteristic.Physical
Describes the physical characteristics of the network. Encoded into bits 30-27 of a 32-bit unsigned integer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jnetstream.protocol.Characteristic |
|---|
Characteristic.BitCodec, Characteristic.Frame, Characteristic.Kind, Characteristic.Physical |
| Enum Constant Summary | |
|---|---|
Cdma
Ethernet |
|
None
Higher-level protocols that have no physical medium |
|
Rf
Radio based physical networks |
|
Ring
Ring topology, Sonet, FDDI, Token-Ring |
|
Serial
Slip, Wan Links |
|
| Method Summary | |
|---|---|
int |
getValue()
|
static java.util.Set<? extends Characteristic> |
valueOf(int value)
Returns an efficient EnumSet of all the physical characteristics that are encoded into the integer value. |
static Characteristic.Physical |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Characteristic.Physical[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Characteristic.Physical Cdma
public static final Characteristic.Physical None
public static final Characteristic.Physical Rf
public static final Characteristic.Physical Ring
public static final Characteristic.Physical Serial
| Method Detail |
|---|
public static final Characteristic.Physical[] values()
for(Characteristic.Physical c : Characteristic.Physical.values())
System.out.println(c);
public static Characteristic.Physical 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 namepublic final int getValue()
getValue in interface Characteristicpublic static java.util.Set<? extends Characteristic> valueOf(int value)
value - integer value with bit encoded physical properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||