| 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.
|
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 void | checkVM(Mirror mirror) | public void | defaultIOExceptionHandler(Exception e) Performs default handling of IOException in creating or interpreting a Jdwp packet. | public void | defaultReplyErrorHandler(int error) Performs default error handling. | public void | disconnectVM() Disconnects VM. | final public JdwpCommandPacket | getCommandVM(int command, long timeout) Waits for a specified command packet from the VM. | public void | handledJdwpEventSet() Processing after each Jdwp Event. | public void | handledJdwpRequest() Processing after each Jdwp Request. | public void | initJdwpEventSet(JdwpCommandPacket commandPacket) Processing before each Jdwp event. | public void | initJdwpRequest() Processing before each Jdwp request. | public boolean | readBoolean(String description, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public byte | readByte(String description, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public byte | readByte(String description, Map valueToString, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public byte | readByte(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 char | readChar(String description, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public double | readDouble(String description, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public float | readFloat(String description, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public int | readInt(String description, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public int | readInt(String description, Map valueToString, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public int | readInt(String description, String[] bitNames, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public long | readLong(String description, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public short | readShort(String description, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public short | readShort(String description, Map valueToString, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public short | readShort(String description, String[] bitNames, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public String | readString(String description, DataInputStream in) Reads Jdwp data and, if verbose is on, outputs verbose info. | public JdwpReplyPacket | requestVM(int command, byte[] outData) Performs a VM request. | public JdwpReplyPacket | requestVM(int command, ByteArrayOutputStream outData) Performs a VM request. | public JdwpReplyPacket | requestVM(int command, ObjectReferenceImpl object) Performs a VM request for a specified object. | public JdwpReplyPacket | requestVM(int command, ReferenceTypeImpl refType) Performs a VM request for a specified object. | public JdwpReplyPacket | requestVM(int command) Performs a VM request. | public String | toString() | public VerboseWriter | verboseWriter() | public VirtualMachine | virtualMachine() | public VirtualMachineImpl | virtualMachineImpl() | public void | writeBoolean(boolean value, String description, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeByte(byte value, String description, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeByte(byte value, String description, Map valueToString, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeByte(byte value, String description, String[] bitNames, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeChar(char value, String description, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeDouble(double value, String description, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeFloat(float value, String description, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeInt(int value, String description, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeInt(int value, String description, Map valueToString, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeInt(int value, String description, String[] bitNames, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeLong(long value, String description, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeShort(short value, String description, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeShort(short value, String description, Map valueToString, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeShort(short value, String description, String[] bitNames, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeString(String value, String description, DataOutputStream out) Writes Jdwp data and, if verbose is on, outputs verbose info. | public void | writeVerboseCommandPacketHeader(JdwpCommandPacket commandPacket) Writes command packet header if verbose is on. |
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.
|
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.
|
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.
|
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, Map valueToString, 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. |
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. |
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. |
requestVM | public JdwpReplyPacket requestVM(int command, byte[] outData)(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. |
writeVerboseCommandPacketHeader | public void writeVerboseCommandPacketHeader(JdwpCommandPacket commandPacket)(Code) | | Writes command packet header if verbose is on.
|
|
|