![]() |
|
|
#include <virtualmachinecmdset.h>
Inheritance diagram for inspectorj::agent::commandset::VirtualMachineCmdSet:
Definition at line 43 of file virtualmachinecmdset.h.
Public Member Functions | |
VirtualMachineCmdSet (JavaVM *vm, JNIEnv *env, jvmtiEnv *jvmti) | |
Constructor. | |
~VirtualMachineCmdSet () | |
Destructor. | |
virtual void | process (JDWPCommand *cmd, boost::function< void(JDWPReply *) > cbk) |
Process a JDWPCommand. | |
Static Public Member Functions | |
static QMap< qint64, jclass > & | getClassMap () |
Return a reference to a map of jclasses. | |
Private Member Functions | |
void | getVersionInfo (JDWPCommand *, boost::function< void(JDWPReply *) >) |
Returns the JDWP version implemented by the target VM. | |
void | getClassesBySignature (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | getAllClasses (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | getAllThreads (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | getTopLevelThreadGroups (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | dispose (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | getIdSizes (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | suspend (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | resume (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | exit (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | createString (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | capabilities (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | classpaths (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | disposeObjects (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | holdEvents (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | releaseEvents (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | newCapabilities (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | redefineClasses (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | setDefaultStratum (JDWPCommand *, boost::function< void(JDWPReply *) >) |
void | getAllClassesWithGeneric (JDWPCommand *, boost::function< void(JDWPReply *) >) |
inspectorj::agent::commandset::VirtualMachineCmdSet::VirtualMachineCmdSet | ( | JavaVM * | vm, | |
JNIEnv * | env, | |||
jvmtiEnv * | jvmti | |||
) |
inspectorj::agent::commandset::VirtualMachineCmdSet::~VirtualMachineCmdSet | ( | ) |
void inspectorj::agent::commandset::VirtualMachineCmdSet::process | ( | JDWPCommand * | cmd, | |
boost::function< void(JDWPReply *) > | cbk | |||
) | [virtual] |
Process a JDWPCommand.
cmd | The JDWPCommand to process. | |
cbk | The callback to receive a JDWPReply. |
Definition at line 58 of file virtualmachinecmdset.cpp.
References capabilities(), inspectorj::agent::commandset::JDWPCommandSet::cbk, classpaths(), createString(), dispose(), disposeObjects(), exit(), getAllClasses(), getAllClassesWithGeneric(), getAllThreads(), getClassesBySignature(), inspectorj::jdwp::JDWPCommand::getCmd(), getIdSizes(), getTopLevelThreadGroups(), getVersionInfo(), holdEvents(), newCapabilities(), redefineClasses(), releaseEvents(), resume(), inspectorj::agent::commandset::JDWPCommandSet::sendNotImplementedReply(), setDefaultStratum(), and suspend().
static QMap<qint64, jclass>& inspectorj::agent::commandset::VirtualMachineCmdSet::getClassMap | ( | ) | [static] |
Return a reference to a map of jclasses.
The key for each class is its referenceTypeId.
Reimplemented from inspectorj::agent::commandset::JDWPCommandSet.
void inspectorj::agent::commandset::VirtualMachineCmdSet::getVersionInfo | ( | JDWPCommand * | cmd, | |
boost::function< void(JDWPReply *) > | cbk | |||
) | [private] |
Returns the JDWP version implemented by the target VM.
cmd | The JDWPCommand to process. | |
cbk | The callback to receive a JDWPReply. |
Definition at line 93 of file virtualmachinecmdset.cpp.
References inspectorj::agent::commandset::JDWPCommandSet::cbk, check_jvmti_error(), inspectorj::agent::commandset::JDWPCommandSet::getJDWPReply(), and inspectorj::agent::commandset::JDWPCommandSet::jvmti.
Referenced by process().