Class PrintingListener

  extended by
All Implemented Interfaces:
java.util.EventListener, JessListener

public class PrintingListener
extends java.lang.Object
implements JessListener

A trivial JessListener which displays information about the event; useful for debugging.

(C) Sandia National Laboratories

Constructor Summary
Method Summary
 void eventHappened(JessEvent je)
          Called by a JessEvent source when something interesting happens.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public PrintingListener()
Method Detail


public void eventHappened(JessEvent je)
                   throws JessException
Description copied from interface: JessListener
Called by a JessEvent source when something interesting happens. The typical implementation of eventHappened will switch on the return value of je.getType().

Specified by:
eventHappened in interface JessListener
je - an event object describing the event.
JessException - if any problem occurs during event handling.

2013 Sandia Corporation