Uses of Enum Class
madkit.kernel.AbstractAgent.ReturnCode
Packages that use AbstractAgent.ReturnCode
Package
Description
Provides classes that are fundamental to the design of MaDKit applications.
-
Uses of AbstractAgent.ReturnCode in madkit.kernel
Methods in madkit.kernel that return AbstractAgent.ReturnCodeModifier and TypeMethodDescriptionAbstractAgent.broadcastMessage
(String community, String group, String role, Message message) Broadcasts a message to every agent having a role in a group in a community, but not to the sender.AbstractAgent.broadcastMessageWithRole
(String community, String group, String role, Message messageToSend, String senderRole) Broadcasts a message to every agent having a role in a group in a community using a specific role for the sender.AbstractAgent.bucketModeCreateGroup
(String community, String group, boolean isDistributed, Gatekeeper keyMaster) Creates a new Group within a community even if the agent has been launched using using one of thelaunchAgentBucket
methods.AbstractAgent.bucketModeRequestRole
(String community, String group, String role, Object passKey) Requests a role even if the agent has been launched using one of thelaunchAgentBucket
methods with nonull
roles.AbstractAgent.createGroup
(String community, String group) Creates a new Group within a community.AbstractAgent.createGroup
(String community, String group, boolean isDistributed) Creates a new Group within a community.AbstractAgent.createGroup
(String community, String group, boolean isDistributed, Gatekeeper keyMaster) Creates a new Group within a community.AbstractAgent.killAgent
(AbstractAgent target) Kills the targeted agent.AbstractAgent.killAgent
(AbstractAgent target, int timeOutSeconds) Kills the targeted agent.Agent.killAgent
(AbstractAgent target, int timeOutSeconds) AbstractAgent.launchAgent
(AbstractAgent agent) Launches a new agent in the MaDKit platform.AbstractAgent.launchAgent
(AbstractAgent agent, boolean createFrame) Launches a new agent in the MaDKit platform.AbstractAgent.launchAgent
(AbstractAgent agent, int timeOutSeconds) Launches a new agent in the MaDKit platform.AbstractAgent.launchAgent
(AbstractAgent agent, int timeOutSeconds, boolean createFrame) Launches a new agent and returns when the agent has completed itsAbstractAgent.activate()
method or whentimeOutSeconds
seconds elapsed.AbstractAgent.launchNode
(Node agentXmlNode) Launch agents by parsing an XML node.AbstractAgent.launchXmlAgents
(String xmlFile) launch all the agents defined in an xml configuration fileAbstractAgent.leaveGroup
(String community, String group) Makes this agent leaves the group of a particular community.Abandons an handled role within a group of a particular community.AbstractAgent.requestRole
(String community, String group, String role) Requests a role within a group of a particular community.AbstractAgent.requestRole
(String community, String group, String role, Object passKey) Requests a role within a group of a particular community using a passKey.AbstractAgent.sendMessage
(String community, String group, String role, Message message) Sends a message to an agent having this position in the organization, specifying explicitly the role used to send it.AbstractAgent.sendMessage
(AgentAddress receiver, Message messageToSend) Sends a message to an agent using an agent address.AbstractAgent.sendMessageWithRole
(String community, String group, String role, Message message, String senderRole) Sends a message to an agent having this position in the organization.AbstractAgent.sendMessageWithRole
(AgentAddress receiver, Message message, String senderRole) Sends a message, using an agent address, specifying explicitly the role used to send it.Sends a message by replying to a previously received message.AbstractAgent.sendReplyWithRole
(Message messageToReplyTo, Message reply, String senderRole) Sends a message by replying to a previously received message.static AbstractAgent.ReturnCode
Returns the enum constant of this class with the specified name.static AbstractAgent.ReturnCode[]
AbstractAgent.ReturnCode.values()
Returns an array containing the constants of this enum class, in the order they are declared.