Uses of Class
org.baseagent.comms.Message
Package
Description
-
Uses of Message in org.baseagent
Modifier and TypeMethodDescriptionvoid
Agent.onMessageReceived
(Message message) By default, the Agent will be sure to pass along any messages to its behaviors that are also listening for messages.void
Agent.sendDirectedMessage
(MessageListener recipient, Message message) Convenience method to access the communicatorvoid
Agent.sendMessage
(Message message) Convenience method to access the communicator -
Uses of Message in org.baseagent.behaviors
-
Uses of Message in org.baseagent.comms
Modifier and TypeMethodDescriptionMessage.createCopy()
Generates a new Message object that is a fresh Message object but looks the same as an existing message.Modifier and TypeMethodDescriptionBroadcastCommunicator.getExpectedRecipients
(Message message) abstract List<MessageListener>
Communicator.getExpectedRecipients
(Message message) InRangeCommunicator.getExpectedRecipients
(Message message) NearestNeighborCommunicator.getExpectedRecipients
(Message message) void
MessageListener.onMessageReceived
(Message message) void
Communicator.sendDirectedMessage
(MessageListener recipient, Message message) void
Communicator.sendMessage
(Message message) -
Uses of Message in org.baseagent.embodied.behaviors