Uses of Interface
org.baseagent.comms.MessageListener
Package
Description
-
Uses of MessageListener in org.baseagent
Modifier 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 awayModifier and TypeMethodDescriptionvoid
Agent.sendDirectedMessage
(MessageListener recipient, Message message) Convenience method to access the communicator -
Uses of MessageListener in org.baseagent.behaviors
-
Uses of MessageListener in org.baseagent.comms
Modifier 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) Modifier and TypeMethodDescriptionvoid
Communicator.sendDirectedMessage
(MessageListener recipient, Message message) void
Message.setOriginalSender
(MessageListener sender) void
Message.setSender
(MessageListener sender) ModifierConstructorDescriptionMessage
(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
-
Uses of MessageListener in org.baseagent.embodied.behaviors
-
Uses of MessageListener in org.baseagent.sim
-
Uses of MessageListener in org.baseagent.ui