public enum GuestSessionWaitResult extends java.lang.Enum<GuestSessionWaitResult>
GuestSessionWaitForFlag
) the waiting result
can vary based on the session's current status.
To wait for a guest session to terminate after it has been
created byIGuest.createSession(String,String,String,String)
one would specify
GuestSessionWaitResult_Terminate.
Interface ID: {C0F6A8A5-FDB6-42BF-A582-56C6F82BCD2D}Enum Constant and Description |
---|
Error
Error while executing the process.
|
None
No result was returned.
|
Start
The guest session has been started.
|
Status
The guest session has changed its status.
|
Terminate
The guest session has been terminated.
|
Timeout
The waiting operation timed out.
|
WaitFlagNotSupported
A waiting flag specified in the
IGuestSession.waitFor(Long,Long) call
is not supported by the guest. |
Modifier and Type | Method and Description |
---|---|
static GuestSessionWaitResult |
fromValue(long v) |
static GuestSessionWaitResult |
fromValue(java.lang.String v) |
int |
value() |
static GuestSessionWaitResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GuestSessionWaitResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuestSessionWaitResult None
public static final GuestSessionWaitResult Start
public static final GuestSessionWaitResult Terminate
public static final GuestSessionWaitResult Status
IGuestSession.getStatus()
.public static final GuestSessionWaitResult Error
public static final GuestSessionWaitResult Timeout
IGuestSession.waitFor(Long,Long)
call.public static final GuestSessionWaitResult WaitFlagNotSupported
IGuestSession.waitFor(Long,Long)
call
is not supported by the guest.public static GuestSessionWaitResult[] values()
for (GuestSessionWaitResult c : GuestSessionWaitResult.values()) System.out.println(c);
public static GuestSessionWaitResult 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 int value()
public static GuestSessionWaitResult fromValue(long v)
public static GuestSessionWaitResult fromValue(java.lang.String v)