KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > zirc > threads > PseudoThread


1 package zirc.threads ;
2
3
4
5 //zIrc, irc client.
6
// Copyright (C) 2004 CoolBytes(Stephane claret, Andre Aymon, Alban Zumofen) coolbytes@hotmail.com
7
//
8
// This program is free software; you can redistribute it and/or
9
// modify it under the terms of the GNU General Public License
10
// as published by the Free Software Foundation; either version 2
11
// of the License, or (at your option) any later version.
12
//
13
// This program is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
// GNU General Public License for more details.
17

18 /**
19  * <p>Title: PseudoThread</p>
20  * <p>Description: thread etendu par certains threads</p>
21  * <p>Copyright: Copyright (c) 2004</p>
22  * <p>Company: CoolBytes(Stephane Claret, Andre Aymon, Alban Zumofen) coolbytes@hotmail.com</p>
23  * @version 1.0
24  */

25
26
27 //
28
//Cette classe abstraite représente une opération pour le threadProcessor.
29
//Ce dernier lance les méthodes go() des threads.
30
//
31

32 public abstract class PseudoThread
33 {
34   protected boolean isFinished = false ;
35
36   public PseudoThread()
37   {
38   }
39
40   public void go()
41   {
42   }
43
44   public boolean isFinished()
45   {
46     return isFinished ;
47   }
48
49 }
50
Popular Tags