Uses of Interface
org.baseagent.comms.MessageListener
Packages that use MessageListener
Package
Description
-
Uses of MessageListener in org.baseagent
Classes in org.baseagent that implement MessageListenerModifier and TypeClassDescriptionclass
An important aspect about this general Agent is that the only thing it maintains is internal state and knowledge.class
class
A pheromone is a beacon that dissipates over time and eventually goes awayMethods in org.baseagent with parameters of type MessageListenerModifier and TypeMethodDescriptionvoid
Agent.sendDirectedMessage
(MessageListener recipient, Message message) Convenience method to access the communicator -
Uses of MessageListener in org.baseagent.behaviors
Classes in org.baseagent.behaviors that implement MessageListener -
Uses of MessageListener in org.baseagent.comms
Methods in org.baseagent.comms that return MessageListenerMethods in org.baseagent.comms that return types with arguments of type MessageListenerModifier and TypeMethodDescriptionNearestNeighborCommunicator.findNearestNeighbors
(HasGridPosition fromAgent) This calculates the distance between agents based on each agent's knowledge of its location.BroadcastCommunicator.getExpectedRecipients
(Message message) abstract List<MessageListener>
Communicator.getExpectedRecipients
(Message message) InRangeCommunicator.getExpectedRecipients
(Message message) NearestNeighborCommunicator.getExpectedRecipients
(Message message) Methods in org.baseagent.comms with parameters of type MessageListenerModifier and TypeMethodDescriptionvoid
Communicator.sendDirectedMessage
(MessageListener recipient, Message message) void
Message.setOriginalSender
(MessageListener sender) void
Message.setSender
(MessageListener sender) Constructors in org.baseagent.comms with parameters of type MessageListenerModifierConstructorDescriptionMessage
(MessageListener currentSender, String messageType) Message
(MessageListener currentSender, String messageType, String messageSubtype) Message
(MessageListener currentSender, String messageType, String messageSubtype, Map<String, Object> payload) Message
(MessageListener originalSender, MessageListener currentSender, String messageType, String messageSubtype, Map<String, Object> payload) Message
(MessageListener originalSender, MessageListener currentSender, String messageType, Map<String, Object> payload) -
Uses of MessageListener in org.baseagent.embodied
Classes in org.baseagent.embodied that implement MessageListener -
Uses of MessageListener in org.baseagent.embodied.behaviors
Classes in org.baseagent.embodied.behaviors that implement MessageListener -
Uses of MessageListener in org.baseagent.sim
Classes in org.baseagent.sim that implement MessageListenerMethods in org.baseagent.sim that return types with arguments of type MessageListener -
Uses of MessageListener in org.baseagent.ui
Classes in org.baseagent.ui that implement MessageListener