com.croftsoft.apps.vaft.agent
Class CountAgent

java.lang.Object
  extended by com.croftsoft.apps.vaft.agent.CountAgent
All Implemented Interfaces:
Actor, Serializable, Runnable

public class CountAgent
extends Object
implements Actor, Runnable, Serializable

Version:
1998-04-26
See Also:
Serialized Form
Author:
David W. Croft

Field Summary
 int max
           
 
Constructor Summary
CountAgent()
           
 
Method Summary
 void finalize()
           
 String[] getRoles()
          Returns an array of String representing the names of semantic interfaces, or "roles", supported by this object.
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

max

public int max
Constructor Detail

CountAgent

public CountAgent()
Method Detail

getRoles

public String[] getRoles()
Description copied from interface: com.croftsoft.core.role.actor.Actor
Returns an array of String representing the names of semantic interfaces, or "roles", supported by this object.

The array may represent just a limited subset from all of the interfaces that are actually implemented by this object. Which interfaces are returned are chosen as deemed appropriate by this object for the current context and may change with each call to this method.

The ordering of the roles in the array may be determined dynamically by the object and should be assumed to be listed in the order of preference, from the viewpoint of this object, for polymorphic casting of this object by another. The ordering may change with each call to this method.

May return null.

Specified by:
getRoles in interface Actor

run

public void run()
Specified by:
run in interface Runnable

finalize

public void finalize()
              throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)