KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > simulator > listener > ResultsListener


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.simulator.listener;
5
6 import com.tc.simulator.app.ErrorContext;
7
8 public interface ResultsListener {
9   
10   /**
11    * Timed out waiting for all parties to join.
12    */

13   public void notifyStartTimeout();
14   /**
15    * Timed out waiting for execution to complete.
16    */

17   public void notifyExecutionTimeout();
18   /**
19    * Encountered an error/exception during execution.
20    */

21   public void notifyError(ErrorContext ectxt);
22   /**
23    * Execution completed with the given result.
24    */

25   public void notifyResult(Object JavaDoc result);
26
27 }
28
Popular Tags