Java Doc for MirrorImpl.java in  » IDE-Eclipse » jdt » org » eclipse » jdi » internal » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jdi.internal.MirrorImpl

All known Subclasses:   org.eclipse.jdi.internal.event.EventImpl,  org.eclipse.jdi.internal.AccessibleImpl,  org.eclipse.jdi.internal.VirtualMachineImpl,  org.eclipse.jdi.internal.event.EventSetImpl,  org.eclipse.jdi.internal.LocationImpl,  org.eclipse.jdi.internal.request.EventRequestManagerImpl,  org.eclipse.jdi.internal.event.EventQueueImpl,  org.eclipse.jdi.internal.MonitorInfoImpl,  org.eclipse.jdi.internal.request.EventRequestImpl,  org.eclipse.jdi.internal.LocalVariableImpl,  org.eclipse.jdi.internal.ValueImpl,  org.eclipse.jdi.internal.StackFrameImpl,
MirrorImpl
public class MirrorImpl implements Mirror(Code)
this class implements the corresponding interfaces declared by the JDI specification. See the com.sun.jdi package for more information.


Field Summary
protected  StringfDescription
     Description of Mirror object.
protected  VerboseWriterfVerboseWriter
     VerboseWriter where verbose info is written to, null if no verbose must be given.

Constructor Summary
public  MirrorImpl(String description)
     Constructor only to be used by Virtual Machine objects: stores description of Mirror object and Virtual Machine.
public  MirrorImpl(String description, VirtualMachineImpl virtualMachineImpl)
     Constructor stores description of Mirror object and its Virtual Machine.

Method Summary
public  voidcheckVM(Mirror mirror)
    
public  voiddefaultIOExceptionHandler(Exception e)
     Performs default handling of IOException in creating or interpreting a Jdwp packet.
public  voiddefaultReplyErrorHandler(int error)
     Performs default error handling.
public  voiddisconnectVM()
     Disconnects VM.
final public  JdwpCommandPacketgetCommandVM(int command, long timeout)
     Waits for a specified command packet from the VM.
public  voidhandledJdwpEventSet()
     Processing after each Jdwp Event.
public  voidhandledJdwpRequest()
     Processing after each Jdwp Request.
public  voidinitJdwpEventSet(JdwpCommandPacket commandPacket)
     Processing before each Jdwp event.
public  voidinitJdwpRequest()
     Processing before each Jdwp request.
public  booleanreadBoolean(String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  bytereadByte(String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  bytereadByte(String description, Map valueToString, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  bytereadByte(String description, String[] bitNames, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  byte[]readByteArray(int length, String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  charreadChar(String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  doublereadDouble(String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  floatreadFloat(String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  intreadInt(String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  intreadInt(String description, Map valueToString, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  intreadInt(String description, String[] bitNames, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  longreadLong(String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  shortreadShort(String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  shortreadShort(String description, Map valueToString, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  shortreadShort(String description, String[] bitNames, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  StringreadString(String description, DataInputStream in)
     Reads Jdwp data and, if verbose is on, outputs verbose info.
public  JdwpReplyPacketrequestVM(int command, byte[] outData)
     Performs a VM request.
public  JdwpReplyPacketrequestVM(int command, ByteArrayOutputStream outData)
     Performs a VM request.
public  JdwpReplyPacketrequestVM(int command, ObjectReferenceImpl object)
     Performs a VM request for a specified object.
public  JdwpReplyPacketrequestVM(int command, ReferenceTypeImpl refType)
     Performs a VM request for a specified object.
public  JdwpReplyPacketrequestVM(int command)
     Performs a VM request.
public  StringtoString()
    
public  VerboseWriterverboseWriter()
    
public  VirtualMachinevirtualMachine()
    
public  VirtualMachineImplvirtualMachineImpl()
    
public  voidwriteBoolean(boolean value, String description, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteByte(byte value, String description, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteByte(byte value, String description, Map valueToString, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteByte(byte value, String description, String[] bitNames, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteChar(char value, String description, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteDouble(double value, String description, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteFloat(float value, String description, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteInt(int value, String description, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteInt(int value, String description, Map valueToString, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteInt(int value, String description, String[] bitNames, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteLong(long value, String description, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteShort(short value, String description, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteShort(short value, String description, Map valueToString, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteShort(short value, String description, String[] bitNames, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteString(String value, String description, DataOutputStream out)
     Writes Jdwp data and, if verbose is on, outputs verbose info.
public  voidwriteVerboseCommandPacketHeader(JdwpCommandPacket commandPacket)
     Writes command packet header if verbose is on.

Field Detail
fDescription
protected String fDescription(Code)
Description of Mirror object.



fVerboseWriter
protected VerboseWriter fVerboseWriter(Code)
VerboseWriter where verbose info is written to, null if no verbose must be given.




Constructor Detail
MirrorImpl
public MirrorImpl(String description)(Code)
Constructor only to be used by Virtual Machine objects: stores description of Mirror object and Virtual Machine.



MirrorImpl
public MirrorImpl(String description, VirtualMachineImpl virtualMachineImpl)(Code)
Constructor stores description of Mirror object and its Virtual Machine.




Method Detail
checkVM
public void checkVM(Mirror mirror) throws VMMismatchException(Code)

exception:
  VMMismatchException - is thrown if the Mirror argument and this mirror do not belong to the same VirtualMachine.



defaultIOExceptionHandler
public void defaultIOExceptionHandler(Exception e)(Code)
Performs default handling of IOException in creating or interpreting a Jdwp packet.



defaultReplyErrorHandler
public void defaultReplyErrorHandler(int error)(Code)
Performs default error handling.



disconnectVM
public void disconnectVM()(Code)
Disconnects VM.



getCommandVM
final public JdwpCommandPacket getCommandVM(int command, long timeout) throws InterruptedException(Code)
Waits for a specified command packet from the VM. Returns Command Packet from VM.



handledJdwpEventSet
public void handledJdwpEventSet()(Code)
Processing after each Jdwp Event.



handledJdwpRequest
public void handledJdwpRequest()(Code)
Processing after each Jdwp Request.



initJdwpEventSet
public void initJdwpEventSet(JdwpCommandPacket commandPacket)(Code)
Processing before each Jdwp event.



initJdwpRequest
public void initJdwpRequest()(Code)
Processing before each Jdwp request. Note that this includes building the request message and parsing the response.



readBoolean
public boolean readBoolean(String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readByte
public byte readByte(String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readByte
public byte readByte(String description, Map valueToString, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readByte
public byte readByte(String description, String[] bitNames, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readByteArray
public byte[] readByteArray(int length, String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readChar
public char readChar(String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readDouble
public double readDouble(String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readFloat
public float readFloat(String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readInt
public int readInt(String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readInt
public int readInt(String description, Map valueToString, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readInt
public int readInt(String description, String[] bitNames, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readLong
public long readLong(String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readShort
public short readShort(String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readShort
public short readShort(String description, Map valueToString, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readShort
public short readShort(String description, String[] bitNames, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



readString
public String readString(String description, DataInputStream in) throws IOException(Code)
Reads Jdwp data and, if verbose is on, outputs verbose info. Returns value that has been read.



requestVM
public JdwpReplyPacket requestVM(int command, byte[] outData)(Code)
Performs a VM request. Returns reply data.



requestVM
public JdwpReplyPacket requestVM(int command, ByteArrayOutputStream outData)(Code)
Performs a VM request. Returns reply data.



requestVM
public JdwpReplyPacket requestVM(int command, ObjectReferenceImpl object)(Code)
Performs a VM request for a specified object. Returns reply data.



requestVM
public JdwpReplyPacket requestVM(int command, ReferenceTypeImpl refType)(Code)
Performs a VM request for a specified object. Returns reply data.



requestVM
public JdwpReplyPacket requestVM(int command)(Code)
Performs a VM request. Returns reply data.



toString
public String toString()(Code)
Returns description of Mirror object.



verboseWriter
public VerboseWriter verboseWriter()(Code)
Returns VerboseWriter where verbose info is written to, null if no verbose must be given.



virtualMachine
public VirtualMachine virtualMachine()(Code)
Returns Virtual Machine of Mirror object.



virtualMachineImpl
public VirtualMachineImpl virtualMachineImpl()(Code)
Returns Virtual Machine implementation of Mirror object.



writeBoolean
public void writeBoolean(boolean value, String description, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeByte
public void writeByte(byte value, String description, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeByte
public void writeByte(byte value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeByte
public void writeByte(byte value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeChar
public void writeChar(char value, String description, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeDouble
public void writeDouble(double value, String description, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeFloat
public void writeFloat(float value, String description, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeInt
public void writeInt(int value, String description, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeInt
public void writeInt(int value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeInt
public void writeInt(int value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeLong
public void writeLong(long value, String description, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeShort
public void writeShort(short value, String description, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeShort
public void writeShort(short value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeShort
public void writeShort(short value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeString
public void writeString(String value, String description, DataOutputStream out) throws IOException(Code)
Writes Jdwp data and, if verbose is on, outputs verbose info.



writeVerboseCommandPacketHeader
public void writeVerboseCommandPacketHeader(JdwpCommandPacket commandPacket)(Code)
Writes command packet header if verbose is on.



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.