comparison src/org/dancres/blitz/ActiveObject.java @ 0:3dc0c5604566

Initial checkin of blitz 2.0 fcs - no installer yet.
author Dan Creswell <dan.creswell@gmail.com>
date Sat, 21 Mar 2009 11:00:06 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:3dc0c5604566
1 package org.dancres.blitz;
2
3 /**
4 Various things in the space implementation require the use of threads
5 which need to be started up and shutdown in a co-ordinated fashion.
6 Such things should implement this interface and register with
7 ActiveObjectRegistry.
8 */
9 public interface ActiveObject {
10 /**
11 Instructs this instance to startup/activate threads
12 */
13 public void begin();
14
15 /**
16 Instructs this instance to stop/de-activate threads
17 */
18 public void halt();
19 }