com.agentfactory.cldc.p2pmts
Class P2PRequestFact

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

public class P2PRequestFact
extends java.lang.Object
implements ActuatorFactory

Creates an instance of the peer to peer request actuator using the specified affect manager. It should be noted that factories are only required within the migration process.

Author:
Conor Muldoon

Constructor Summary
P2PRequestFact()
           
 
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

P2PRequestFact

public P2PRequestFact()
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.