|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VirtualMachine
Abstract description of a VM. This interface is used to abstract the platform model from the underlying connection / debugger protocol.
Field Summary | |
---|---|
static int |
DEFAULT_TIMEOUT
|
Method Summary | |
---|---|
List |
allScripts()
Returns the live list of ScriptReference s loaded in the VirtualMachine
or an empty list. |
List |
allThreads()
Returns the live list of ThreadReference s in the VirtualMachine
or an empty list. |
String |
description()
Returns the description of the VirtualMachine . |
void |
dispose()
Disposes the VirtualMachine and cleans up held objects |
EventQueue |
eventQueue()
Returns the EventQueue associated with this VirtualMachine . |
EventRequestManager |
eventRequestManager()
Returns the EventRequestManager associated with this VirtualMachine . |
BooleanValue |
mirrorOf(boolean bool)
Returns a new BooleanValue . |
NumberValue |
mirrorOf(Number number)
Returns a new NumberValue . |
StringValue |
mirrorOf(String string)
Returns a StringValue initialized to the given String . |
NullValue |
mirrorOfNull()
Returns the NullValue value. |
UndefinedValue |
mirrorOfUndefined()
Returns the UndefinedValue value. |
String |
name()
Returns the name of the VirtualMachine . |
void |
resume()
Sends a resume request to the VM |
void |
suspend()
Sends a suspend request to the VM |
void |
terminate()
Terminates and disconnects the VM |
String |
version()
Returns the version string of the VirtualMachine . |
Field Detail |
---|
static final int DEFAULT_TIMEOUT
Method Detail |
---|
void resume()
void suspend()
void terminate()
String name()
VirtualMachine
.null
VirtualMachine
or null
String description()
VirtualMachine
.null
VirtualMachine
or null
String version()
VirtualMachine
.null
VirtualMachine
or null
List allThreads()
ThreadReference
s in the VirtualMachine
or an empty list.null
ThreadReference
s in the VirtualMachine
or an empty list, never null
List allScripts()
ScriptReference
s loaded in the VirtualMachine
or an empty list.null
ScriptReference
s
or an empty list, never null
void dispose()
VirtualMachine
and cleans up held objects
UndefinedValue mirrorOfUndefined()
UndefinedValue
value.
UndefinedValue
valueNullValue mirrorOfNull()
NullValue
value.
NullValue
value.BooleanValue mirrorOf(boolean bool)
BooleanValue
.
bool
- the boolean primitive to mirror in the VirtualMachine
BooleanValue
NumberValue mirrorOf(Number number)
NumberValue
.
number
- the Number
to mirror in the VirtualMachine
NumberValue
StringValue mirrorOf(String string)
StringValue
initialized to the given String
.
string
- the initial value for the mirrored StringValue
StringValue
EventRequestManager eventRequestManager()
EventRequestManager
associated with this VirtualMachine
.null
if the VirtualMachine
has been disposed or terminated.
EventRequestManager
for this VirtualMachine
or null
EventQueue eventQueue()
EventQueue
associated with this VirtualMachine
.null
if the VirtualMachine
has been disposed or terminated.
EventQueue
for this VirtualMachine
or null
|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |