org.eclipse.m2m.atl.engine.vm.adwp
Class ADWP

java.lang.Object
  extended by java.lang.Thread
      extended by org.eclipse.m2m.atl.engine.vm.adwp.ADWP
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
ADWPDebuggee, ADWPDebugger

public abstract class ADWP
extends java.lang.Thread

ATL Debug Wire Protocol: declarations for ATL VM debugging protocol. Debugger and debuggee share most protocol code.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static int CMD_CALL
           
static int CMD_CONTINUE
           
static int CMD_DISASSEMBLE
           
static int CMD_FINISH
           
static int CMD_GET
           
static int CMD_QUERY
           
static int CMD_SET
           
static int CMD_SET_BP
           
static int CMD_STEP
           
static int CMD_STEP_OVER
           
static int CMD_UNSET_BP
           
protected  java.io.DataInputStream in
           
static int MSG_ANS
           
static int MSG_DISAS_CODE
           
static int MSG_STOPPED
           
static int MSG_TERMINATED
           
protected  java.io.DataOutputStream out
           
static int TYPE_BOOLEAN
           
static int TYPE_INTEGER
           
static int TYPE_NULL
           
static int TYPE_OBJECT
           
static int TYPE_REAL
           
static int TYPE_STRING
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ADWP(java.io.InputStream in, java.io.OutputStream out)
           
 
Method Summary
protected abstract  ObjectReference readObjectReference(int id)
           
protected  Value readValue()
           
protected  void writeValue(Value value)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CMD_CONTINUE

public static final int CMD_CONTINUE
See Also:
Constant Field Values

CMD_STEP

public static final int CMD_STEP
See Also:
Constant Field Values

CMD_STEP_OVER

public static final int CMD_STEP_OVER
See Also:
Constant Field Values

CMD_FINISH

public static final int CMD_FINISH
See Also:
Constant Field Values

CMD_GET

public static final int CMD_GET
See Also:
Constant Field Values

CMD_SET

public static final int CMD_SET
See Also:
Constant Field Values

CMD_CALL

public static final int CMD_CALL
See Also:
Constant Field Values

CMD_SET_BP

public static final int CMD_SET_BP
See Also:
Constant Field Values

CMD_UNSET_BP

public static final int CMD_UNSET_BP
See Also:
Constant Field Values

CMD_DISASSEMBLE

public static final int CMD_DISASSEMBLE
See Also:
Constant Field Values

CMD_QUERY

public static final int CMD_QUERY
See Also:
Constant Field Values

MSG_STOPPED

public static final int MSG_STOPPED
See Also:
Constant Field Values

MSG_ANS

public static final int MSG_ANS
See Also:
Constant Field Values

MSG_DISAS_CODE

public static final int MSG_DISAS_CODE
See Also:
Constant Field Values

MSG_TERMINATED

public static final int MSG_TERMINATED
See Also:
Constant Field Values

TYPE_BOOLEAN

public static final int TYPE_BOOLEAN
See Also:
Constant Field Values

TYPE_INTEGER

public static final int TYPE_INTEGER
See Also:
Constant Field Values

TYPE_STRING

public static final int TYPE_STRING
See Also:
Constant Field Values

TYPE_OBJECT

public static final int TYPE_OBJECT
See Also:
Constant Field Values

TYPE_NULL

public static final int TYPE_NULL
See Also:
Constant Field Values

TYPE_REAL

public static final int TYPE_REAL
See Also:
Constant Field Values

in

protected java.io.DataInputStream in

out

protected java.io.DataOutputStream out
Constructor Detail

ADWP

public ADWP(java.io.InputStream in,
            java.io.OutputStream out)
Method Detail

writeValue

protected void writeValue(Value value)
                   throws java.io.IOException
Throws:
java.io.IOException

readValue

protected Value readValue()
                   throws java.io.IOException
Throws:
java.io.IOException

readObjectReference

protected abstract ObjectReference readObjectReference(int id)

Copyright 2007 IBM Corporation and others.
All Rights Reserved.