Uses of Class
madkit.message.ObjectMessage
Packages that use 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
Subclasses of ObjectMessage in madkit.messageModifier and TypeClassDescriptionclassA message class that conveys a boolean value.classEnumMessage<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.classMessage type that could be used to ask the gui manager to do somethingclassA message class that conveys an integer.classThe brand new version of KernelMessage.classMapMessage<K,V> This class could be used to build message conveyingMapobjects between MaDKit agents.classThis message class could be used to interact with a Scheduler agent.classA message class that conveys a string.Methods in madkit.message with type parameters of type ObjectMessageModifier 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
Subclasses of ObjectMessage in madkit.message.hookModifier and TypeClassDescriptionclassA message which is sent to agents that have requested a hook onHookMessage.AgentActionEvent.AGENT_STARTEDorHookMessage.AgentActionEvent.AGENT_TERMINATEDclassRoot class of messages which are sent to agents that have requested hooks to the kernelclassThis 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.classA message which is sent to agents that have requested a hook onHookMessage.AgentActionEvent.AGENT_STARTEDorHookMessage.AgentActionEvent.AGENT_TERMINATEDclassA 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