Java Doc for JdwpCommandPacket.java in  » IDE-Eclipse » jdt » org » eclipse » jdi » internal » jdwp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdi.internal.jdwp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jdi.internal.jdwp.JdwpPacket
      org.eclipse.jdi.internal.jdwp.JdwpCommandPacket

JdwpCommandPacket
public class JdwpCommandPacket extends JdwpPacket (Code)
This class implements the corresponding Java Debug Wire Protocol (JDWP) packet declared by the JDWP specification.


Field Summary
final public static  intAR_GET_VALUES
    
final public static  intAR_LENGTH
     Commands ArrayReference.
final public static  intAR_SET_VALUES
    
final public static  intAT_NEW_INSTANCE
     Commands ArrayType.
final public static  intCLR_VISIBLE_CLASSES
     Commands ClassLoaderReference.
final public static  intCOR_REFLECTED_TYPE
     Commands ClassObjectReference.
final public static  intCSET_ARRAY_REFERENCE
    
final public static  intCSET_ARRAY_TYPE
    
final public static  intCSET_CLASS_LOADER_REFERENCE
    
final public static  intCSET_CLASS_OBJECT_REFERENCE
    
final public static  intCSET_CLASS_TYPE
    
final public static  intCSET_EVENT
    
final public static  intCSET_EVENT_REQUEST
    
final public static  intCSET_FIELD
    
final public static  intCSET_HOT_CODE_REPLACEMENT
    
final public static  intCSET_INTERFACE_TYPE
    
final public static  intCSET_METHOD
    
final public static  intCSET_OBJECT_REFERENCE
    
final public static  intCSET_REFERENCE_TYPE
    
final public static  intCSET_STACK_FRAME
    
final public static  intCSET_STRING_REFERENCE
    
final public static  intCSET_THREAD_GROUP_REFERENCE
    
final public static  intCSET_THREAD_REFERENCE
    
final public static  intCSET_VIRTUAL_MACHINE
     Command Sets.
final public static  intCT_INVOKE_METHOD
    
final public static  intCT_NEW_INSTANCE
    
final public static  intCT_SET_VALUES
    
final public static  intCT_SUPERCLASS
     Commands ClassType.
final public static  intER_CLEAR
    
final public static  intER_CLEAR_ALL_BREAKPOINTS
    
final public static  intER_SET
     Commands EventRequest.
final public static  intE_COMPOSITE
     Commands Event.
final public static  intHCR_CAPABILITIES
    
final public static  intHCR_CLASSES_HAVE_CHANGED
     Commands Hot Code Replacement (OTI specific).
final public static  intHCR_DO_RETURN
    
final public static  intHCR_GET_CLASS_VERSION
    
final public static  intHCR_REENTER_ON_EXIT
    
final public static  intM_BYTECODES
    
final public static  intM_LINE_TABLE
     Commands Method.
final public static  intM_OBSOLETE
    
final public static  intM_VARIABLE_TABLE
    
final public static  intM_VARIABLE_TABLE_WITH_GENERIC
    
final public static  intOR_DISABLE_COLLECTION
    
final public static  intOR_ENABLE_COLLECTION
    
final public static  intOR_GET_VALUES
    
final public static  intOR_INVOKE_METHOD
    
final public static  intOR_IS_COLLECTED
    
final public static  intOR_MONITOR_INFO
    
final public static  intOR_REFERENCE_TYPE
     Commands ObjectReference.
final public static  intOR_REFERRING_OBJECTS
    
final public static  intOR_SET_VALUES
    
final public static  intRT_CLASS_LOADER
    
final public static  intRT_CLASS_OBJECT
    
final public static  intRT_CLASS_VERSION
    
final public static  intRT_CONSTANT_POOL
    
final public static  intRT_FIELDS
    
final public static  intRT_FIELDS_WITH_GENERIC
    
final public static  intRT_GET_VALUES
    
final public static  intRT_INSTANCES
    
final public static  intRT_INTERFACES
    
final public static  intRT_METHODS
    
final public static  intRT_METHODS_WITH_GENERIC
    
final public static  intRT_MODIFIERS
    
final public static  intRT_NESTED_TYPES
    
final public static  intRT_SIGNATURE
     Commands ReferenceType.
final public static  intRT_SIGNATURE_WITH_GENERIC
    
final public static  intRT_SOURCE_DEBUG_EXTENSION
    
final public static  intRT_SOURCE_FILE
    
final public static  intRT_STATUS
    
final public static  intSF_GET_VALUES
     Commands StackFrame.
final public static  intSF_POP_FRAME
    
final public static  intSF_SET_VALUES
    
final public static  intSF_THIS_OBJECT
    
final public static  intSR_VALUE
     Commands StringReference.
final public static  intTGR_CHILDREN
    
final public static  intTGR_NAME
     Commands ThreadGroupReference.
final public static  intTGR_PARENT
    
final public static  intTR_CURRENT_CONTENDED_MONITOR
    
final public static  intTR_FORCE_EARLY_RETURN
    
final public static  intTR_FRAMES
    
final public static  intTR_FRAME_COUNT
    
final public static  intTR_INTERRUPT
    
final public static  intTR_NAME
     Commands ThreadReference.
final public static  intTR_OWNED_MONITORS
    
final public static  intTR_OWNED_MONITOR_STACK_DEPTH
    
final public static  intTR_RESUME
    
final public static  intTR_STATUS
    
final public static  intTR_STOP
    
final public static  intTR_SUSPEND
    
final public static  intTR_SUSPEND_COUNT
    
final public static  intTR_THREAD_GROUP
    
final public static  intVM_ALL_CLASSES
    
final public static  intVM_ALL_CLASSES_WITH_GENERIC
    
final public static  intVM_ALL_THREADS
    
final public static  intVM_CAPABILITIES
    
final public static  intVM_CAPABILITIES_NEW
    
final public static  intVM_CLASSES_BY_SIGNATURE
    
final public static  intVM_CLASS_PATHS
    
final public static  intVM_CREATE_STRING
    
final public static  intVM_DISPOSE
    
final public static  intVM_DISPOSE_OBJECTS
    
final public static  intVM_EXIT
    
final public static  intVM_HOLD_EVENTS
    
final public static  intVM_ID_SIZES
    
final public static  intVM_INSTANCE_COUNTS
    
final public static  intVM_REDEFINE_CLASSES
    
final public static  intVM_RELEASE_EVENTS
    
final public static  intVM_RESUME
    
final public static  intVM_SET_DEFAULT_STRATUM
    
final public static  intVM_SUSPEND
    
final public static  intVM_TOP_LEVEL_THREAD_GROUPS
    
final public static  intVM_VERSION
     Commands VirtualMachine.

Constructor Summary
protected  JdwpCommandPacket()
     Creates new JdwpCommandPacket.
public  JdwpCommandPacket(int command)
     Creates new JdwpCommandPacket.

Method Summary
public static  MapcommandMap()
    
public  intgetCommand()
    
public  bytegetCommandSet()
    
public static  voidgetConstantMaps()
     Retrieves constant mappings.
public static synchronized  intgetNewId()
    
protected  intreadSpecificHeaderFields(byte[] bytes, int index)
     Reads header fields that are specific for this type of packet.
public static  StringremovePrefix(String str)
    
public  voidsetCommand(int command)
    
public  StringtoString()
    
protected  intwriteSpecificHeaderFields(byte[] bytes, int index)
     Writes header fields that are specific for this type of packet.

Field Detail
AR_GET_VALUES
final public static int AR_GET_VALUES(Code)



AR_LENGTH
final public static int AR_LENGTH(Code)
Commands ArrayReference.



AR_SET_VALUES
final public static int AR_SET_VALUES(Code)



AT_NEW_INSTANCE
final public static int AT_NEW_INSTANCE(Code)
Commands ArrayType.



CLR_VISIBLE_CLASSES
final public static int CLR_VISIBLE_CLASSES(Code)
Commands ClassLoaderReference.



COR_REFLECTED_TYPE
final public static int COR_REFLECTED_TYPE(Code)
Commands ClassObjectReference.



CSET_ARRAY_REFERENCE
final public static int CSET_ARRAY_REFERENCE(Code)



CSET_ARRAY_TYPE
final public static int CSET_ARRAY_TYPE(Code)



CSET_CLASS_LOADER_REFERENCE
final public static int CSET_CLASS_LOADER_REFERENCE(Code)



CSET_CLASS_OBJECT_REFERENCE
final public static int CSET_CLASS_OBJECT_REFERENCE(Code)



CSET_CLASS_TYPE
final public static int CSET_CLASS_TYPE(Code)



CSET_EVENT
final public static int CSET_EVENT(Code)



CSET_EVENT_REQUEST
final public static int CSET_EVENT_REQUEST(Code)



CSET_FIELD
final public static int CSET_FIELD(Code)



CSET_HOT_CODE_REPLACEMENT
final public static int CSET_HOT_CODE_REPLACEMENT(Code)



CSET_INTERFACE_TYPE
final public static int CSET_INTERFACE_TYPE(Code)



CSET_METHOD
final public static int CSET_METHOD(Code)



CSET_OBJECT_REFERENCE
final public static int CSET_OBJECT_REFERENCE(Code)



CSET_REFERENCE_TYPE
final public static int CSET_REFERENCE_TYPE(Code)



CSET_STACK_FRAME
final public static int CSET_STACK_FRAME(Code)



CSET_STRING_REFERENCE
final public static int CSET_STRING_REFERENCE(Code)



CSET_THREAD_GROUP_REFERENCE
final public static int CSET_THREAD_GROUP_REFERENCE(Code)



CSET_THREAD_REFERENCE
final public static int CSET_THREAD_REFERENCE(Code)



CSET_VIRTUAL_MACHINE
final public static int CSET_VIRTUAL_MACHINE(Code)
Command Sets.



CT_INVOKE_METHOD
final public static int CT_INVOKE_METHOD(Code)



CT_NEW_INSTANCE
final public static int CT_NEW_INSTANCE(Code)



CT_SET_VALUES
final public static int CT_SET_VALUES(Code)



CT_SUPERCLASS
final public static int CT_SUPERCLASS(Code)
Commands ClassType.



ER_CLEAR
final public static int ER_CLEAR(Code)



ER_CLEAR_ALL_BREAKPOINTS
final public static int ER_CLEAR_ALL_BREAKPOINTS(Code)



ER_SET
final public static int ER_SET(Code)
Commands EventRequest.



E_COMPOSITE
final public static int E_COMPOSITE(Code)
Commands Event.



HCR_CAPABILITIES
final public static int HCR_CAPABILITIES(Code)



HCR_CLASSES_HAVE_CHANGED
final public static int HCR_CLASSES_HAVE_CHANGED(Code)
Commands Hot Code Replacement (OTI specific).



HCR_DO_RETURN
final public static int HCR_DO_RETURN(Code)



HCR_GET_CLASS_VERSION
final public static int HCR_GET_CLASS_VERSION(Code)



HCR_REENTER_ON_EXIT
final public static int HCR_REENTER_ON_EXIT(Code)



M_BYTECODES
final public static int M_BYTECODES(Code)



M_LINE_TABLE
final public static int M_LINE_TABLE(Code)
Commands Method.



M_OBSOLETE
final public static int M_OBSOLETE(Code)



M_VARIABLE_TABLE
final public static int M_VARIABLE_TABLE(Code)



M_VARIABLE_TABLE_WITH_GENERIC
final public static int M_VARIABLE_TABLE_WITH_GENERIC(Code)



OR_DISABLE_COLLECTION
final public static int OR_DISABLE_COLLECTION(Code)



OR_ENABLE_COLLECTION
final public static int OR_ENABLE_COLLECTION(Code)



OR_GET_VALUES
final public static int OR_GET_VALUES(Code)



OR_INVOKE_METHOD
final public static int OR_INVOKE_METHOD(Code)



OR_IS_COLLECTED
final public static int OR_IS_COLLECTED(Code)



OR_MONITOR_INFO
final public static int OR_MONITOR_INFO(Code)



OR_REFERENCE_TYPE
final public static int OR_REFERENCE_TYPE(Code)
Commands ObjectReference.



OR_REFERRING_OBJECTS
final public static int OR_REFERRING_OBJECTS(Code)



OR_SET_VALUES
final public static int OR_SET_VALUES(Code)



RT_CLASS_LOADER
final public static int RT_CLASS_LOADER(Code)



RT_CLASS_OBJECT
final public static int RT_CLASS_OBJECT(Code)



RT_CLASS_VERSION
final public static int RT_CLASS_VERSION(Code)



RT_CONSTANT_POOL
final public static int RT_CONSTANT_POOL(Code)



RT_FIELDS
final public static int RT_FIELDS(Code)



RT_FIELDS_WITH_GENERIC
final public static int RT_FIELDS_WITH_GENERIC(Code)



RT_GET_VALUES
final public static int RT_GET_VALUES(Code)



RT_INSTANCES
final public static int RT_INSTANCES(Code)



RT_INTERFACES
final public static int RT_INTERFACES(Code)



RT_METHODS
final public static int RT_METHODS(Code)



RT_METHODS_WITH_GENERIC
final public static int RT_METHODS_WITH_GENERIC(Code)



RT_MODIFIERS
final public static int RT_MODIFIERS(Code)



RT_NESTED_TYPES
final public static int RT_NESTED_TYPES(Code)



RT_SIGNATURE
final public static int RT_SIGNATURE(Code)
Commands ReferenceType.



RT_SIGNATURE_WITH_GENERIC
final public static int RT_SIGNATURE_WITH_GENERIC(Code)



RT_SOURCE_DEBUG_EXTENSION
final public static int RT_SOURCE_DEBUG_EXTENSION(Code)



RT_SOURCE_FILE
final public static int RT_SOURCE_FILE(Code)



RT_STATUS
final public static int RT_STATUS(Code)



SF_GET_VALUES
final public static int SF_GET_VALUES(Code)
Commands StackFrame.



SF_POP_FRAME
final public static int SF_POP_FRAME(Code)



SF_SET_VALUES
final public static int SF_SET_VALUES(Code)



SF_THIS_OBJECT
final public static int SF_THIS_OBJECT(Code)



SR_VALUE
final public static int SR_VALUE(Code)
Commands StringReference.



TGR_CHILDREN
final public static int TGR_CHILDREN(Code)



TGR_NAME
final public static int TGR_NAME(Code)
Commands ThreadGroupReference.



TGR_PARENT
final public static int TGR_PARENT(Code)



TR_CURRENT_CONTENDED_MONITOR
final public static int TR_CURRENT_CONTENDED_MONITOR(Code)



TR_FORCE_EARLY_RETURN
final public static int TR_FORCE_EARLY_RETURN(Code)



TR_FRAMES
final public static int TR_FRAMES(Code)



TR_FRAME_COUNT
final public static int TR_FRAME_COUNT(Code)



TR_INTERRUPT
final public static int TR_INTERRUPT(Code)



TR_NAME
final public static int TR_NAME(Code)
Commands ThreadReference.



TR_OWNED_MONITORS
final public static int TR_OWNED_MONITORS(Code)



TR_OWNED_MONITOR_STACK_DEPTH
final public static int TR_OWNED_MONITOR_STACK_DEPTH(Code)



TR_RESUME
final public static int TR_RESUME(Code)



TR_STATUS
final public static int TR_STATUS(Code)



TR_STOP
final public static int TR_STOP(Code)



TR_SUSPEND
final public static int TR_SUSPEND(Code)



TR_SUSPEND_COUNT
final public static int TR_SUSPEND_COUNT(Code)



TR_THREAD_GROUP
final public static int TR_THREAD_GROUP(Code)



VM_ALL_CLASSES
final public static int VM_ALL_CLASSES(Code)



VM_ALL_CLASSES_WITH_GENERIC
final public static int VM_ALL_CLASSES_WITH_GENERIC(Code)



VM_ALL_THREADS
final public static int VM_ALL_THREADS(Code)



VM_CAPABILITIES
final public static int VM_CAPABILITIES(Code)



VM_CAPABILITIES_NEW
final public static int VM_CAPABILITIES_NEW(Code)



VM_CLASSES_BY_SIGNATURE
final public static int VM_CLASSES_BY_SIGNATURE(Code)



VM_CLASS_PATHS
final public static int VM_CLASS_PATHS(Code)



VM_CREATE_STRING
final public static int VM_CREATE_STRING(Code)



VM_DISPOSE
final public static int VM_DISPOSE(Code)



VM_DISPOSE_OBJECTS
final public static int VM_DISPOSE_OBJECTS(Code)



VM_EXIT
final public static int VM_EXIT(Code)



VM_HOLD_EVENTS
final public static int VM_HOLD_EVENTS(Code)



VM_ID_SIZES
final public static int VM_ID_SIZES(Code)



VM_INSTANCE_COUNTS
final public static int VM_INSTANCE_COUNTS(Code)



VM_REDEFINE_CLASSES
final public static int VM_REDEFINE_CLASSES(Code)



VM_RELEASE_EVENTS
final public static int VM_RELEASE_EVENTS(Code)



VM_RESUME
final public static int VM_RESUME(Code)



VM_SET_DEFAULT_STRATUM
final public static int VM_SET_DEFAULT_STRATUM(Code)



VM_SUSPEND
final public static int VM_SUSPEND(Code)



VM_TOP_LEVEL_THREAD_GROUPS
final public static int VM_TOP_LEVEL_THREAD_GROUPS(Code)



VM_VERSION
final public static int VM_VERSION(Code)
Commands VirtualMachine.




Constructor Detail
JdwpCommandPacket
protected JdwpCommandPacket()(Code)
Creates new JdwpCommandPacket.



JdwpCommandPacket
public JdwpCommandPacket(int command)(Code)
Creates new JdwpCommandPacket.




Method Detail
commandMap
public static Map commandMap()(Code)
Returns a map with string representations of error codes.



getCommand
public int getCommand()(Code)
Returns 256 * JDWP CommandSet (unsigned) + JDWP Command.



getCommandSet
public byte getCommandSet()(Code)
Returns JDWP command set of packet.



getConstantMaps
public static void getConstantMaps()(Code)
Retrieves constant mappings.



getNewId
public static synchronized int getNewId()(Code)
Returns unique id for command packet.



readSpecificHeaderFields
protected int readSpecificHeaderFields(byte[] bytes, int index)(Code)
Reads header fields that are specific for this type of packet.



removePrefix
public static String removePrefix(String str)(Code)
Returns string without XXX_ prefix.



setCommand
public void setCommand(int command)(Code)
Assigns command (256 * JDWP CommandSet (unsigned) + JDWP Command)



toString
public String toString()(Code)



writeSpecificHeaderFields
protected int writeSpecificHeaderFields(byte[] bytes, int index) throws IOException(Code)
Writes header fields that are specific for this type of packet.



Fields inherited from org.eclipse.jdi.internal.jdwp.JdwpPacket
final public static byte FLAG_REPLY_PACKET(Code)(Java Doc)
final protected static int MIN_PACKET_LENGTH(Code)(Java Doc)
protected byte[] fDataBuf(Code)(Java Doc)
protected byte fFlags(Code)(Java Doc)
protected int fId(Code)(Java Doc)

Methods inherited from org.eclipse.jdi.internal.jdwp.JdwpPacket
public static JdwpPacket build(byte[] bytes) throws IOException(Code)(Java Doc)
public byte[] data()(Code)(Java Doc)
public DataInputStream dataInStream()(Code)(Java Doc)
public static void getConstantMaps()(Code)(Java Doc)
public int getDataLength()(Code)(Java Doc)
public static String[] getFlagMap()(Code)(Java Doc)
public byte getFlags()(Code)(Java Doc)
public int getId()(Code)(Java Doc)
public int getLength()(Code)(Java Doc)
public byte[] getPacketAsBytes() throws IOException(Code)(Java Doc)
abstract protected int readSpecificHeaderFields(byte[] bytes, int index) throws IOException(Code)(Java Doc)
public void setData(byte[] data)(Code)(Java Doc)
void setFlags(byte flags)(Code)(Java Doc)
void setId(int id)(Code)(Java Doc)
abstract protected int writeSpecificHeaderFields(byte[] bytes, int index) throws IOException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.