| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<SessionType>
org.virtualbox_7_1.SessionType
public enum SessionType
Session type. This enumeration represents possible values of theISession.getType()attribute.
Interface ID: {A13C02CB-0C2C-421E-8317-AC0E8AAA153A}
| Enum Constant Summary | |
|---|---|
| NullNull value (never used by the API). | |
| RemoteSession has launched a VM process using IMachine.launchVMProcess(org.virtualbox_7_1.ISession,String,List) | |
| SharedSession has obtained a link to another session using IMachine.lockMachine(org.virtualbox_7_1.ISession,org.virtualbox_7_1.LockType) | |
| WriteLockSession has acquired an exclusive write lock on a machine using IMachine.lockMachine(org.virtualbox_7_1.ISession,org.virtualbox_7_1.LockType). | |
| Method Summary | |
|---|---|
| static SessionType | fromValue(long v) | 
| static SessionType | fromValue(java.lang.String v) | 
|  int | value() | 
| static SessionType | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static SessionType[] | 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 SessionType Null
public static final SessionType WriteLock
IMachine.lockMachine(org.virtualbox_7_1.ISession,org.virtualbox_7_1.LockType).
public static final SessionType Remote
IMachine.launchVMProcess(org.virtualbox_7_1.ISession,String,List)
public static final SessionType Shared
IMachine.lockMachine(org.virtualbox_7_1.ISession,org.virtualbox_7_1.LockType)
| Method Detail | 
|---|
public static SessionType[] values()
for (SessionType c : SessionType.values()) System.out.println(c);
public static SessionType 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 SessionType fromValue(long v)
public static SessionType fromValue(java.lang.String v)
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||