00001 package edu.rice.cs.hpc.traceviewer.db.remote; 00002 00003 /************************************** 00004 * 00005 * Interface for listening a thread 00006 * 00007 * - the master (listener) has to implement the interface and 00008 * do an action based on notify method 00009 * 00010 * - The child thread needs to call notify() once an error occurs 00011 * 00012 */ 00013 public interface IThreadListener { 00014 00015 /*** 00016 * Notify the listener that something has happened 00017 * @param msg 00018 */ 00019 public void notify(String msg); 00020 00021 }