Class KernelMessage
- All Implemented Interfaces:
Serializable,Cloneable
KernelMessage is a message that can be sent to the kernel agent. It is used to send
MaDKit commands to the kernel agent.
- Since:
- MaDKit 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKernelMessage(KernelAction code, Object... commandOptions) Builds a kernel message with the specified enum code and command options -
Method Summary
Methods inherited from class madkit.messages.EnumMessage
getCode, toStringMethods inherited from class madkit.messages.ObjectMessage
getContentMethods inherited from class madkit.kernel.Message
clone, getConversationID, getReceiver, getSender, getSenderRole
-
Constructor Details
-
KernelMessage
Builds a kernel message with the specified enum code and command options- Parameters:
code- the enum constant from theKernelActionenumerationcommandOptions- a list of objects representing the command options
-