com.agentfactory.cldc
Class SelfPerceptorFact

java.lang.Object
  extended by com.agentfactory.cldc.SelfPerceptorFact
All Implemented Interfaces:
PerceptorFactory

public class SelfPerceptorFact
extends java.lang.Object
implements PerceptorFactory

Creates an instance of the self perceptor using the perception manager for the agent. It should be noted that factories are only required when migration is being used.

Author:
Conor Muldoon

Constructor Summary
SelfPerceptorFact()
           
 
Method Summary
 Perceptor createPerceptor(PerceptionManager manager)
          Factory classes implement this interface to create a perceptor in the migration process.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfPerceptorFact

public SelfPerceptorFact()
Method Detail

createPerceptor

public Perceptor createPerceptor(PerceptionManager manager)
Description copied from interface: PerceptorFactory
Factory classes implement this interface to create a perceptor in the migration process. Each perceptor that is created when an agent migrates on to the platform will require its own factory class. The manager is passed to the actuator's constructor.

Specified by:
createPerceptor in interface PerceptorFactory
Returns:
a perceptor created by this factory.