jcaas.util
Class DefaultHandler

java.lang.Object
  extended by jcaas.util.DefaultHandler
All Implemented Interfaces:
JDIHandler

public class DefaultHandler
extends java.lang.Object
implements JDIHandler

This class is a default implementation of JDIHandler. It prints out all events it receives in handleEvent, and echoes all strings it receives in handleSTDOUT/STDERR to the appropriate stream.

Author:
steppm

Constructor Summary
DefaultHandler()
           
 
Method Summary
 void handleEvent(com.sun.jdi.event.Event e)
           
 void handleSTDERR(java.lang.String str)
           
 void handleSTDOUT(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHandler

public DefaultHandler()
Method Detail

handleEvent

public void handleEvent(com.sun.jdi.event.Event e)
Specified by:
handleEvent in interface JDIHandler

handleSTDOUT

public void handleSTDOUT(java.lang.String str)
Specified by:
handleSTDOUT in interface JDIHandler

handleSTDERR

public void handleSTDERR(java.lang.String str)
Specified by:
handleSTDERR in interface JDIHandler