ij-16.png   inspectorJ -- JavaTM Profiler
sf project site browse source checkout source
SourceForge.net Logo



inspectorj::jdwp Namespace Reference


Detailed Description

Namespace for JDWP packet classes and packet handlers.


Classes

class  JDWPCommand
 JDWPCommand wraps the jdwpCmdPacket struct. More...
struct  FieldID
 JDWP field ID. More...
struct  ObjectID
 JDWP object ID. More...
struct  MethodID
 JDWP method ID. More...
struct  ReferenceTypeID
 JDWP reference type ID. More...
struct  FrameID
 JDWP frame ID. More...
class  JDWPPacket
 JDWPPacket is the base class for JDWPCommand and JDWPReply. More...
class  JDWPReply
 JDWPReply wraps the jdwpReplyPacket struct. More...

Enumerations

enum  {
  ERR_NONE = 0, ERR_INVALID_THREAD = 10, ERR_INVALID_THREAD_GROUP = 11, ERR_INVALID_PRIORITY = 12,
  ERR_THREAD_NOT_SUSPENDED = 13, ERR_THREAD_SUSPENDED = 14, ERR_INVALID_OBJECT = 20, ERR_INVALID_CLASS = 21,
  ERR_CLASS_NOT_PREPARED = 22, ERR_INVALID_METHODID = 23, ERR_INVALID_LOCATION = 24, ERR_INVALID_FIELDID = 25,
  ERR_INVALID_FRAMEID = 30, ERR_NO_MORE_FRAMES = 31, ERR_OPAQUE_FRAME = 32, ERR_NOT_CURRENT_FRAME = 33,
  ERR_TYPE_MISMATCH = 34, ERR_INVALID_SLOT = 35, ERR_DUPLICATE = 40, ERR_NOT_FOUND = 41,
  ERR_INVALID_MONITOR = 50, ERR_NOT_MONITOR_OWNER = 51, ERR_INTERRUPT = 52, ERR_INVALID_CLASS_FORMAT = 60,
  ERR_CIRCULAR_CLASS_DEFINITION = 61, ERR_FAILS_VERIFICATION = 62, ERR_ADD_METHOD_NOT_IMPLEMENTED = 63, ERR_SCHEMA_CHANGE_NOT_IMPLEMENTED = 64,
  ERR_INVALID_TYPESTATE = 65, ERR_HIERARCHY_CHANGE_NOT_IMPLEMENTED = 66, ERR_DELETE_METHOD_NOT_IMPLEMENTED = 67, ERR_UNSUPPORTED_VERSION = 68,
  ERR_NAMES_DONT_MATCH = 69, ERR_CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED = 70, ERR_METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED = 71, ERR_NOT_IMPLEMENTED = 99,
  ERR_NULL_POINTER = 100, ERR_ABSENT_INFORMATION = 101, ERR_INVALID_EVENT_TYPE = 102, ERR_ILLEGAL_ARGUMENT = 103,
  ERR_OUT_OF_MEMORY = 110, ERR_ACCESS_DENIED = 111, ERR_VM_DEAD = 112, ERR_INTERNAL = 113,
  ERR_UNATTACHED_THREAD = 115, ERR_INVALID_TAG = 500, ERR_ALREADY_INVOKING = 502, ERR_INVALID_INDEX = 503,
  ERR_INVALID_LENGTH = 504, ERR_INVALID_STRING = 506, ERR_INVALID_CLASS_LOADER = 507, ERR_INVALID_ARRAY = 508,
  ERR_TRANSPORT_LOAD = 509, ERR_TRANSPORT_INIT = 510, ERR_NATIVE_METHOD = 511, ERR_INVALID_COUNT = 512
}
enum  eventKindConstants {
  EVENT_SINGLE_STEP = 1, EVENT_BREAKPOINT = 2, EVENT_FRAME_POP = 3, EVENT_EXCEPTION = 4,
  EVENT_USER_DEFINED = 5, EVENT_THREAD_START = 6, EVENT_THREAD_END = 7, EVENT_CLASS_PREPARE = 8,
  EVENT_CLASS_UNLOAD = 9, EVENT_CLASS_LOAD = 10, EVENT_FIELD_ACCESS = 20, EVENT_FIELD_MODIFICATION = 21,
  EVENT_EXCEPTION_CATCH = 30, EVENT_METHOD_ENTRY = 40, EVENT_METHOD_EXIT = 41, EVENT_VM_INIT = 90,
  EVENT_VM_DEATH = 99
}
 EventKind Constants. More...
enum  threadStatusConstants {
  THREAD_STATUS_ZOMBIE = 0, THREAD_STATUS_RUNNING = 1, THREAD_STATUS_SLEEPING = 2, THREAD_STATUS_MONITOR = 3,
  THREAD_STATUS_WAIT = 4
}
 ThreadStatus Constants. More...
enum  suspendStatusConstants { SUSPEND_STATUS_SUSPENDED = 0x1 }
 SuspendStatus Constants. More...
enum  classStatusConstants { CLASS_STATUS_VERIFIED = 1, CLASS_STATUS_PREPARED = 2, CLASS_STATUS_INITIALIZED = 4, CLASS_STATUS_ERROR = 8 }
 ClassStatus Constants. More...
enum  typeTagConstants { TAG_TYPE_CLASS = 1, TAG_TYPE_INTERFACE = 2, TAG_TYPE_ARRAY = 3 }
 TypeTag Constants. More...
enum  tagConstants {
  TAG_ARRAY = 91, TAG_BYTE = 66, TAG_CHAR = 67, TAG_OBJECT = 76,
  TAG_FLOAT = 70, TAG_DOUBLE = 68, TAG_INT = 73, TAG_LONG = 74,
  TAG_SHORT = 83, TAG_VOID = 86, TAG_BOOLEAN = 90, TAG_STRING = 115,
  TAG_THREAD = 116, TAG_THREAD_GROUP = 103, TAG_CLASS_LOADER = 108, TAG_CLASS_OBJECT = 99
}
 Tag Constants. More...
enum  stepDepthConstants { STEP_INTO = 0, STEP_OVER = 1, STEP_OUT = 2 }
 StepDepth Constants. More...
enum  stepSizeConstants { STEP_SIZE_MIN = 0, STEP_SIZE_LINE = 1 }
 StepSize Constants. More...
enum  suspendPolicyConstants { SUSPEND_POLICY_NONE = 0, SUSPEND_POLICY_EVENT_THREAD = 1, SUSPEND_POLICY_ALL = 2 }
 SuspendPolicy Constants. More...
enum  invokeOptionsConstants { INVOKE_SINGLE_THREADED = 0x01, INVOKE_NONVIRTUAL = 0x02 }
 InvokeOptions Constants. More...
enum  jdwpCommandSet {
  VM_COMMAND_SET = 1, REF_TYPE_COMMAND_SET = 2, CLASS_TYPE_COMMAND_SET = 3, ARRAY_TYPE_COMMAND_SET = 4,
  IF_COMMAND_SET = 5, METHOD_COMMAND_SET = 6, OBJECT_REF_COMMAND_SET = 9, STRING_REF_COMMAND_SET = 10,
  THREAD_REF_COMMAND_SET = 11, THREAD_GROUP_REF_COMMAND_SET = 12, ARRAY_REF_COMMAND_SET = 13, CLASS_LDR_REF_COMMAND_SET = 14,
  EVENT_REQUEST_COMMAND_SET = 15, STACK_FRAME_COMMAND_SET = 16, CLASS_OBJECT_REF_COMMAND_SET = 17, EVENT_COMMAND_SET = 64,
  INSPECTORJ_COMMAND_SET = -1, BYTECODE_COMMAND_SET = 99
}
 Command Sets. More...
enum  virtualMachineCmd {
  VM_CMD_VERSION = 1, VM_CMD_CLASSES_BY_SIGNATURE = 2, VM_CMD_ALL_CLASSES = 3, VM_CMD_ALL_THREADS = 4,
  VM_CMD_TOP_LEVEL_THREAD_GROUPS = 5, VM_CMD_DISPOSE = 6, VM_CMD_ID_SIZES = 7, VM_CMD_SUSPEND = 8,
  VM_CMD_RESUME = 9, VM_CMD_EXIT = 10, VM_CMD_CREATE_STRING = 11, VM_CMD_CAPABILITIES = 12,
  VM_CMD_CLASSPATHS = 13, VM_CMD_DISPOSE_OBJECTS = 14, VM_CMD_HOLD_EVENTS = 15, VM_CMD_RELEASE_EVENTS = 16,
  VM_CMD_CAPABILITIES_NEW = 17, VM_CMD_REDEFINE_CLASSES = 18, VM_CMD_SET_DEFAULT_STRATUM = 19, VM_CMD_ALL_CLASSES_WITH_GENERIC = 20
}
 Virtual Machine Commands. More...
enum  referenceTypeCmd {
  REF_TYPE_CMD_SIGNATURE = 1, REF_TYPE_CMD_CLASS_LOADER = 2, REF_TYPE_CMD_MODIFIERS = 3, REF_TYPE_CMD_FIELDS = 4,
  REF_TYPE_CMD_METHODS = 5, REF_TYPE_CMD_GET_VALUES = 6, REF_TYPE_CMD_SOURCE_FILE = 7, REF_TYPE_CMD_NESTED_TYPES = 8,
  REF_TYPE_CMD_STATUS = 9, REF_TYPE_CMD_INTERFACES = 10, REF_TYPE_CMD_CLASS_OBJECT = 11, REF_TYPE_CMD_SOURCE_DEBUG_EXTENSION = 12,
  REF_TYPE_CMD_SIGNATURE_WITH_GENERIC = 13, REF_TYPE_CMD_FIELDS_WITH_GENERIC = 14, REF_TYPE_CMD_METHODS_WITH_GENERIC = 15
}
 Reference Type Commands. More...
enum  byteCodeCmd { BC_TYPE_CMD_DISASSEMBLE = 1 }
 Reference Type Commands. More...
enum  classTypeCmd { CLASS_TYPE_CMD_SUPER_CLASS = 1, CLASS_TYPE_CMD_SET_VALUES = 2, CLASS_TYPE_CMD_INVOKE_METHOD = 3, CLASS_TYPE_CMD_NEW_INSTANCE = 4 }
 Class Type Commands. More...
enum  arrayTypeCmd { ARRAY_TYPE_CMD_NEW_INSTANCE = 1 }
 Array Type Commands. More...
enum  interfaceCmd
 Interface Commands. More...
enum  methodCmd {
  METHOD_CMD_LINE_TABLE = 1, METHOD_CMD_VARIABLE_TABLE = 2, METHOD_CMD_BYTECODES = 3, METHOD_CMD_IS_OBSOLETE = 4,
  METHOD_CMD_VARIABLE_TABLE_WITH_GENERIC = 5
}
 Method Commands. More...
enum  objectReferenceCmd {
  OBJECT_REF_CMD_REFERENCE_TYPE = 1, OBJECT_REF_CMD_GET_VALUES = 2, OBJECT_REF_CMD_SET_VALUES = 3, OBJECT_REF_CMD_MONITOBJECT_REF_INFO = 5,
  OBJECT_REF_CMD_INVOKE_METHOD = 6, OBJECT_REF_CMD_DISABLE_COLLECTION = 7, OBJECT_REF_CMD_ENABLE_COLLECTION = 8, OBJECT_REF_CMD_IS_COLLECTED = 9
}
 Object Reference Commands. More...
enum  stringReferenceCmd { STRING_REF_CMD_VALUE = 1 }
 String Reference Commands. More...
enum  threadReferenceCmd {
  THREAD_REFCMD_NAME = 1, THREAD_REFCMD_SUSPEND = 2, THREAD_REFCMD_RESUME = 3, THREAD_REFCMD_STATUS = 4,
  THREAD_REFCMD_THREAD_GROUP = 5, THREAD_REFCMD_FRAMES = 6, THREAD_REFCMD_FRAME_COUNT = 7, THREAD_REFCMD_OWNED_MONITORS = 8,
  THREAD_REFCMD_CURRENT_CONTENDED_MONITOR = 9, THREAD_REFCMD_STOP = 10, THREAD_REFCMD_INTERRUPT = 11, THREAD_REFCMD_SUSPEND_COUNT = 12
}
 Thread Reference Commands. More...
enum  threadGroupReferenceCmd { THREAD_GROUP_REFCMD_NAME = 1, THREAD_GROUP_REFCMD_PARENT = 2, THREAD_GROUP_REFCMD_CHILDREN = 3 }
 Thread Group Reference Commands. More...
enum  arrayReferenceCmd { ARRAY_REF_CMD_LENGTH = 1, ARRAY_REF_CMD_GET_VALUES = 2, ARRAY_REF_CMD_SET_VALUES = 3 }
 Array Reference Commands. More...
enum  classLoaderReferenceCmd { CLASS_LDR_REF_CMD_VISIBLE_CLASSES = 1 }
 Class Loader Reference Commands. More...
enum  eventRequestCmd { EVENT_REQUEST_CMD_SET = 1, EVENT_REQUEST_CMD_CLEAR = 2, EVENT_REQUEST_CMD_CLEAR_ALL_BREAKPOINTS = 3 }
 Event Request Commands. More...
enum  stackFrameCmd { STACK_FRAME_CMD_GET_VALUES = 1, STACK_FRAME_CMD_SET_VALUES = 2, STACK_FRAME_CMD_THIS_OBJECT = 3, STACK_FRAME_CMD_POP_FRAMES = 4 }
 Stack Frame Commands. More...
enum  classObjectReferenceCmd { CLASS_OBJECT_REF_CMD_REFLECTED_TYPE = 1 }
 Class Object Reference Commands. More...
enum  eventCmd { EVENT_CMD_COMPOSITE = 100 }
 Event Commands. More...
enum  inspectorjCmd { IJ_DISCONNECT = 1, IJ_EXIT = 2 }
 InspectorJ Commands. More...

Functions

void getJDWPError (int errCode, QString &s)
 Evaluate the errorCode returned by a jdwpReplyPacket.

Variables

const char *const JDWP_HANDSHAKE = "JDWP-Handshake"
 JDWP handshake string.
const int JDWP_HANDSHAKE_LENGTH = 14
 JDWP handshake length.
const int JDWP_HEADER_LENGTH = 11
 JDWP packet header length.


Enumeration Type Documentation

anonymous enum

Enumerator:
ERR_NONE  No error has occurred.
ERR_INVALID_THREAD  Passed thread is null, is not a valid thread or has exited.
ERR_INVALID_THREAD_GROUP  Thread group invalid.
ERR_INVALID_PRIORITY  Invalid priority.
ERR_THREAD_NOT_SUSPENDED  If the specified thread has not been suspended by an event.
ERR_THREAD_SUSPENDED  Thread already suspended.
ERR_INVALID_OBJECT  If this reference type has been unloaded and garbage collected.
ERR_INVALID_CLASS  Invalid class.
ERR_CLASS_NOT_PREPARED  Class has been loaded but not yet prepared.
ERR_INVALID_METHODID  Invalid method.
ERR_INVALID_LOCATION  Invalid location.
ERR_INVALID_FIELDID  Invalid field.
ERR_INVALID_FRAMEID  Invalid jframeID.
ERR_NO_MORE_FRAMES  There are no more Java or JNI frames on the call stack.
ERR_OPAQUE_FRAME  Information about the frame is not available.
ERR_NOT_CURRENT_FRAME  Operation can only be performed on current frame.
ERR_TYPE_MISMATCH  The variable is not an appropriate type for the function used.
ERR_INVALID_SLOT  Invalid slot.
ERR_DUPLICATE  Item already set.
ERR_NOT_FOUND  Desired element not found.
ERR_INVALID_MONITOR  Invalid monitor.
ERR_NOT_MONITOR_OWNER  This thread doesn't own the monitor.
ERR_INTERRUPT  The call has been interrupted before completion.
ERR_INVALID_CLASS_FORMAT  The virtual machine attempted to read a class file and determined that the file is malformed or otherwise cannot be interpreted as a class file.
ERR_CIRCULAR_CLASS_DEFINITION  A circularity has been detected while initializing a class.
ERR_FAILS_VERIFICATION  The verifier detected that a class file, though well formed, contained some sort of internal inconsistency or security problem.
ERR_ADD_METHOD_NOT_IMPLEMENTED  Adding methods has not been implemented.
ERR_SCHEMA_CHANGE_NOT_IMPLEMENTED  Schema change has not been implemented.
ERR_INVALID_TYPESTATE  The state of the thread has been modified, and is now inconsistent.
ERR_HIERARCHY_CHANGE_NOT_IMPLEMENTED  A direct superclass is different for the new class version, or the set of directly implemented interfaces is different and canUnrestrictedlyRedefineClasses is false.
ERR_DELETE_METHOD_NOT_IMPLEMENTED  The new class version does not declare a method declared in the old class version and canUnrestrictedlyRedefineClasses is false.
ERR_UNSUPPORTED_VERSION  A class file has a version number not supported by this VM.
ERR_NAMES_DONT_MATCH  The class name defined in the new class file is different from the name in the REF_TYPE_CMD_FIELDSold class object.
ERR_CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED  The new class version has different modifiers and and canUnrestrictedlyRedefineClasses is false.
ERR_METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED  A method in the new class version has different modifiers than its counterpart in the old class version and and canUnrestrictedlyRedefineClasses is false.
ERR_NOT_IMPLEMENTED  The functionality is not implemented in this virtual machine.
ERR_NULL_POINTER  Invalid pointer.
ERR_ABSENT_INFORMATION  Desired information is not available.
ERR_INVALID_EVENT_TYPE  The specified event type id is not recognized.
ERR_ILLEGAL_ARGUMENT  Illegal argument.
ERR_OUT_OF_MEMORY  The function needed to allocate memory and no more memory was available for allocation.
ERR_ACCESS_DENIED  Debugging has not been enabled in this virtual machine. JVMDI cannot be used.
ERR_VM_DEAD  The virtual machine is not running.
ERR_INTERNAL  An unexpected internal error has occurred.
ERR_UNATTACHED_THREAD  The thread being used to call this function is not attached to the virtual machine. Calls must be made from attached threads.
ERR_INVALID_TAG  object type id or class tag.
ERR_ALREADY_INVOKING  Previous invoke not complete.
ERR_INVALID_INDEX  Index is invalid.
ERR_INVALID_LENGTH  The length is invalid.
ERR_INVALID_STRING  The string is invalid.
ERR_INVALID_CLASS_LOADER  The class loader is invalid.
ERR_INVALID_ARRAY  The array is invalid.
ERR_TRANSPORT_LOAD  Unable to load the transport.
ERR_TRANSPORT_INIT  Unable to initialize the transport.
ERR_NATIVE_METHOD  Native method error.
ERR_INVALID_COUNT  The count is invalid.

Definition at line 83 of file jdwpconstants.h.

enum inspectorj::jdwp::arrayReferenceCmd

Array Reference Commands.

Definition at line 395 of file jdwpconstants.h.

enum inspectorj::jdwp::arrayTypeCmd

Array Type Commands.

Definition at line 336 of file jdwpconstants.h.

enum inspectorj::jdwp::byteCodeCmd

Reference Type Commands.

Definition at line 323 of file jdwpconstants.h.

enum inspectorj::jdwp::classLoaderReferenceCmd

Class Loader Reference Commands.

Definition at line 402 of file jdwpconstants.h.

enum inspectorj::jdwp::classObjectReferenceCmd

Class Object Reference Commands.

Definition at line 422 of file jdwpconstants.h.

enum inspectorj::jdwp::classStatusConstants

ClassStatus Constants.

Definition at line 190 of file jdwpconstants.h.

enum inspectorj::jdwp::classTypeCmd

Class Type Commands.

Definition at line 328 of file jdwpconstants.h.

enum inspectorj::jdwp::eventCmd

Event Commands.

Definition at line 427 of file jdwpconstants.h.

enum inspectorj::jdwp::eventKindConstants

EventKind Constants.

Definition at line 152 of file jdwpconstants.h.

enum inspectorj::jdwp::eventRequestCmd

Event Request Commands.

Definition at line 407 of file jdwpconstants.h.

enum inspectorj::jdwp::inspectorjCmd

InspectorJ Commands.

Definition at line 432 of file jdwpconstants.h.

enum inspectorj::jdwp::interfaceCmd

Interface Commands.

Definition at line 341 of file jdwpconstants.h.

enum inspectorj::jdwp::invokeOptionsConstants

InvokeOptions Constants.

Enumerator:
INVOKE_SINGLE_THREADED  otherwise, all threads started.
INVOKE_NONVIRTUAL  otherwise, normal virtual invoke (instance methods only).

Definition at line 251 of file jdwpconstants.h.

enum inspectorj::jdwp::jdwpCommandSet

Command Sets.

Definition at line 258 of file jdwpconstants.h.

enum inspectorj::jdwp::methodCmd

Method Commands.

Definition at line 346 of file jdwpconstants.h.

enum inspectorj::jdwp::objectReferenceCmd

Object Reference Commands.

Definition at line 355 of file jdwpconstants.h.

enum inspectorj::jdwp::referenceTypeCmd

Reference Type Commands.

Definition at line 304 of file jdwpconstants.h.

enum inspectorj::jdwp::stackFrameCmd

Stack Frame Commands.

Definition at line 414 of file jdwpconstants.h.

enum inspectorj::jdwp::stepDepthConstants

StepDepth Constants.

Enumerator:
STEP_INTO  Step into any method calls that occur before the end of the step.
STEP_OVER  Step over any method calls that occur before the end of the step.
STEP_OUT  Step out of the current method.

Definition at line 228 of file jdwpconstants.h.

enum inspectorj::jdwp::stepSizeConstants

StepSize Constants.

Enumerator:
STEP_SIZE_MIN  Step by the minimum possible amount (often a bytecode instruction).
STEP_SIZE_LINE  Step to the next source line unless there is no line number information in which case a MIN step is done instead.

Definition at line 236 of file jdwpconstants.h.

enum inspectorj::jdwp::stringReferenceCmd

String Reference Commands.

Definition at line 367 of file jdwpconstants.h.

enum inspectorj::jdwp::suspendPolicyConstants

SuspendPolicy Constants.

Enumerator:
SUSPEND_POLICY_NONE  Suspend no threads when this event is encountered.
SUSPEND_POLICY_EVENT_THREAD  Suspend the event thread when this event is encountered.
SUSPEND_POLICY_ALL  Suspend all threads when this event is encountered.

Definition at line 243 of file jdwpconstants.h.

enum inspectorj::jdwp::suspendStatusConstants

SuspendStatus Constants.

Definition at line 184 of file jdwpconstants.h.

enum inspectorj::jdwp::tagConstants

Tag Constants.

Enumerator:
TAG_ARRAY  '[' - an array object (objectID size).
TAG_BYTE  'B' - a byte value (1 byte).
TAG_CHAR  'C' - a character value (2 bytes).
TAG_OBJECT  'L' - an object (objectID size).
TAG_FLOAT  'F' - a float value (4 bytes).
TAG_DOUBLE  'D' - a double value (8 bytes).
TAG_INT  'I' - an int value (4 bytes).
TAG_LONG  'J' - a long value (8 bytes).
TAG_SHORT  'S' - a short value (2 bytes).
TAG_VOID  'V' - a void value (no bytes).
TAG_BOOLEAN  'Z' - a boolean value (1 byte).
TAG_STRING  's' - a String object (objectID size).
TAG_THREAD  't' - a Thread object (objectID size).
TAG_THREAD_GROUP  'g' - a ThreadGroup object (objectID size).
TAG_CLASS_LOADER  'l' - a ClassLoader object (objectID size).
TAG_CLASS_OBJECT  'c' - a class object object (objectID size).

Definition at line 207 of file jdwpconstants.h.

enum inspectorj::jdwp::threadGroupReferenceCmd

Thread Group Reference Commands.

Definition at line 388 of file jdwpconstants.h.

enum inspectorj::jdwp::threadReferenceCmd

Thread Reference Commands.

Definition at line 372 of file jdwpconstants.h.

enum inspectorj::jdwp::threadStatusConstants

ThreadStatus Constants.

Definition at line 174 of file jdwpconstants.h.

enum inspectorj::jdwp::typeTagConstants

TypeTag Constants.

Enumerator:
TAG_TYPE_CLASS  ReferenceType is a class.
TAG_TYPE_INTERFACE  ReferenceType is an interface.
TAG_TYPE_ARRAY  ReferenceType is an array.

Definition at line 199 of file jdwpconstants.h.

enum inspectorj::jdwp::virtualMachineCmd

Virtual Machine Commands.

Definition at line 280 of file jdwpconstants.h.


Function Documentation

void inspectorj::jdwp::getJDWPError ( int  errCode,
QString &  s 
)

Evaluate the errorCode returned by a jdwpReplyPacket.

Parameters:
errCode the errorCode
s a QString reference to store the error string in

Referenced by inspectorj::client::ConnectionManager::getJDWPError(), and inspectorj::client::ClientPacketHandler::handleJDWPError().


Variable Documentation

const char* const inspectorj::jdwp::JDWP_HANDSHAKE = "JDWP-Handshake"

JDWP handshake string.

Definition at line 38 of file jdwpconstants.h.

Referenced by inspectorj::client::ClientPacketHandler::getHandshake(), inspectorj::client::ConnectionManager::sendHandshake(), and inspectorj::agent::AgentServer::start().

const int inspectorj::jdwp::JDWP_HANDSHAKE_LENGTH = 14

JDWP handshake length.

Definition at line 41 of file jdwpconstants.h.

Referenced by inspectorj::client::ClientPacketHandler::getHandshake(), and inspectorj::agent::AgentServer::start().

const int inspectorj::jdwp::JDWP_HEADER_LENGTH = 11

JDWP packet header length.

Definition at line 44 of file jdwpconstants.h.

Referenced by inspectorj::agent::commandset::JDWPCommandSet::getJDWPReply(), inspectorj::jdwp::JDWPPacket::getLength(), inspectorj::jdwp::JDWPCommand::JDWPCommand(), inspectorj::jdwp::JDWPReply::JDWPReply(), inspectorj::client::ClientPacketHandler::readJDWPPacket(), inspectorj::client::ClientPacketHandler::sendJDWPCommand(), inspectorj::agent::AgentServer::start(), and inspectorj::agent::AgentSocket::writeReply().


Generated on Sun Aug 19 17:08:16 2007 for inspectorJ by  doxygen 1.5.1