Debug
Class DummyDebugger.Handler

java.lang.Object
  extended by java.lang.Thread
      extended by Debug.DummyDebugger.Handler
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
DummyDebugger

private static class DummyDebugger.Handler
extends java.lang.Thread

This is where it gets interesting. The Handler class should pass the data it received to the remote object dummies. Most of that can be copied from the CTL4j. The other extension point is the CodeGen package, which needs a generator for the logging CIs. On top of that, there's a GUI which visualizes the connections between remote objects and their current state, as well as all the method calls. For this, DotClass can be a starting point, it shows how to easily get information about Java classes.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  int id
           
private  DummyDebugger.Sink sink
           
private  java.net.Socket sock
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DummyDebugger.Handler(java.net.Socket sock, int id, DummyDebugger.Sink sink)
           
 
Method Summary
 void run()
           
 
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, 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

id

private int id

sink

private DummyDebugger.Sink sink

sock

private java.net.Socket sock
Constructor Detail

DummyDebugger.Handler

public DummyDebugger.Handler(java.net.Socket sock,
                             int id,
                             DummyDebugger.Sink sink)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread