| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<PortMode>
org.virtualbox_7_1.PortMode
public enum PortMode
The PortMode enumeration represents possible communication modes for
the virtual serial port device.
Interface ID: {7485FCFD-D603-470A-87AF-26D33BEB7DE9}
| Enum Constant Summary | |
|---|---|
| DisconnectedVirtual device is not attached to any real host device. | |
| HostDeviceVirtual device is attached to a host device. | |
| HostPipeVirtual device is attached to a host pipe. | |
| RawFileVirtual device is attached to a raw file. | |
| TCPVirtual device is attached to a TCP socket. | |
| Method Summary | |
|---|---|
| static PortMode | fromValue(long v) | 
| static PortMode | fromValue(java.lang.String v) | 
|  int | value() | 
| static PortMode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PortMode[] | values()Returns an array containing the constants of this enum type, in the order they are declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final PortMode Disconnected
public static final PortMode HostPipe
public static final PortMode HostDevice
public static final PortMode RawFile
public static final PortMode TCP
| Method Detail | 
|---|
public static PortMode[] values()
for (PortMode c : PortMode.values()) System.out.println(c);
public static PortMode 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 name
java.lang.NullPointerException - if the argument is nullpublic int value()
public static PortMode fromValue(long v)
public static PortMode fromValue(java.lang.String v)
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||