KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgap > distr > grid > IClientFeedback


1 /*
2  * This file is part of JGAP.
3  *
4  * JGAP offers a dual license model containing the LGPL as well as the MPL.
5  *
6  * For licencing information please see the file license.txt included with JGAP
7  * or have a look at the top of class org.jgap.Chromosome which representatively
8  * includes the JGAP license policy applicable for any file delivered with JGAP.
9  */

10 package org.jgap.distr.grid;
11
12 import java.io.*;
13
14 /**
15  * Interface for the feedback a client receives as a listener.
16  *
17  * @author Klaus Meffert
18  * @since 3.01
19  */

20 public interface IClientFeedback
21     extends Serializable {
22   /** String containing the CVS revision. Read out via reflection!*/
23   final static String JavaDoc CVS_REVISION = "$Revision: 1.5 $";
24
25   void setProgressMinimum(int min);
26
27   void setProgressMaximum(int max);
28
29   void setProgressValue(int val);
30
31   void beginWork();
32
33   void sendingFragmentRequest(JGAPRequest req);
34
35   void receivedFragmentResult(JGAPRequest req, JGAPResult res, int idx);
36
37   void endWork();
38
39   void completeFrame(int idx);
40
41   void error(String JavaDoc msg, Exception JavaDoc ex);
42
43   void info(String JavaDoc msg);
44 }
45
Popular Tags