Uses of Class
madkit.message.ObjectMessage
Package
Description
Contains subclasses of
Message
which could be easily reused.Contains message classes useful for monitoring MaDKit kernel events.
-
Uses of ObjectMessage in madkit.message
Modifier and TypeClassDescriptionclass
A message class that conveys a boolean value.class
EnumMessage<E extends Enum<E>>
This parameterizable class could be used to build a message tagged with an enumeration and conveying any java objects using an array of Object.class
Message type that could be used to ask the gui manager to do somethingclass
A message class that conveys an integer.class
The brand new version of KernelMessage.class
MapMessage<K,
V> This class could be used to build message conveyingMap
objects between MaDKit agents.class
This message class could be used to interact with a Scheduler agent.class
A message class that conveys a string.Modifier and TypeMethodDescriptionstatic <T extends Object & Comparable<? super T>,
M extends ObjectMessage<T>>
MObjectMessage.max
(Collection<M> messageCollection) Returns the message containing the maximum element of the given collection, according to the natural ordering of the elements contained in the message.static <T extends Object & Comparable<? super T>,
M extends ObjectMessage<T>>
MObjectMessage.min
(Collection<M> messageCollection) Returns the message containing the minimum element of the given collection, according to the natural ordering of the elements contained in the message.static <T extends Object & Comparable<? super T>,
M extends ObjectMessage<T>>
voidSorts the specified list of messages into ascending order, according to the natural ordering of the content of each message. -
Uses of ObjectMessage in madkit.message.hook
Modifier and TypeClassDescriptionclass
A message which is sent to agents that have requested a hook onHookMessage.AgentActionEvent.AGENT_STARTED
orHookMessage.AgentActionEvent.AGENT_TERMINATED
class
Root class of messages which are sent to agents that have requested hooks to the kernelclass
This message could be used to request a kernel's hook on agent actions so that the sender will be kept informed when an agent performed particular action.class
A message which is sent to agents that have requested a hook onHookMessage.AgentActionEvent.AGENT_STARTED
orHookMessage.AgentActionEvent.AGENT_TERMINATED
class
A message which is sent to agents that have requested a hook onHookMessage.AgentActionEvent.CREATE_GROUP
,HookMessage.AgentActionEvent.REQUEST_ROLE
,HookMessage.AgentActionEvent.LEAVE_GROUP
, orHookMessage.AgentActionEvent.LEAVE_ROLE