nl.tudelft.goal.EIS2Java.handlers
Class DefaultPerceptHandler

Package class diagram package DefaultPerceptHandler
java.lang.Object
  extended by nl.tudelft.goal.EIS2Java.handlers.PerceptHandler
      extended by nl.tudelft.goal.EIS2Java.handlers.AbstractPerceptHandler
          extended by nl.tudelft.goal.EIS2Java.handlers.DefaultPerceptHandler

public final class DefaultPerceptHandler
extends AbstractPerceptHandler


Field Summary
protected  Collection<Method> perceptMethods
          Collection of methods on the entity
 
Fields inherited from class nl.tudelft.goal.EIS2Java.handlers.AbstractPerceptHandler
entity, previousPercepts
 
Constructor Summary
DefaultPerceptHandler(Object entity)
           
 
Method Summary
 LinkedList<eis.iilang.Percept> getAllPercepts()
          Collects all percepts provided by the registered entity through AsPercept annotations.
 
Methods inherited from class nl.tudelft.goal.EIS2Java.handlers.AbstractPerceptHandler
translatePercepts, unpackPerceptObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

perceptMethods

protected final Collection<Method> perceptMethods
Collection of methods on the entity

Constructor Detail

DefaultPerceptHandler

public DefaultPerceptHandler(Object entity)
                      throws eis.exceptions.EntityException
Throws:
eis.exceptions.EntityException
Method Detail

getAllPercepts

public final LinkedList<eis.iilang.Percept> getAllPercepts()
                                                    throws eis.exceptions.PerceiveException
Description copied from class: PerceptHandler
Collects all percepts provided by the registered entity through AsPercept annotations.

Specified by:
getAllPercepts in class PerceptHandler
Returns:
a list of the collected percepts
Throws:
eis.exceptions.PerceiveException


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.