com.agentfactory.cldc
Class RetractActuatorFact

java.lang.Object
  extended by com.agentfactory.cldc.RetractActuatorFact
All Implemented Interfaces:
ActuatorFactory

public class RetractActuatorFact
extends java.lang.Object
implements ActuatorFactory

Creates an instance of the retract actuator using the affect manager for the agent.

Author:
Conor Muldoon

Constructor Summary
RetractActuatorFact()
           
 
Method Summary
 Actuator createActuator(AffectManager manager)
          Factory classes implement this interface to create an actuator in the migration process.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetractActuatorFact

public RetractActuatorFact()
Method Detail

createActuator

public Actuator createActuator(AffectManager manager)
Description copied from interface: ActuatorFactory
Factory classes implement this interface to create an actuator in the migration process. Each actuator that is created when an agent migrates on to a platform, will require its own factory. The manager is passed to the actuator's constructor.

Specified by:
createActuator in interface ActuatorFactory
Parameters:
manager - the affect manager for the agent.
Returns:
an actuator that was created by the factory.