Class SchedulingMessage
- All Implemented Interfaces:
Serializable
,Cloneable
This message class could be used to interact with a Scheduler agent. Here is an example
:
sendMessage(schedulerAddress, new SchedulingMessage(SchedulingAction.PAUSE));
- Since:
- MaDKit 5.0.0.14
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSchedulingMessage
(SchedulingAction schedulerAction, Object... info) Builds a message with the specified action -
Method Summary
Methods inherited from class madkit.messages.EnumMessage
getCode, toString
Methods inherited from class madkit.messages.ObjectMessage
getContent
Methods inherited from class madkit.kernel.Message
clone, getConversationID, getReceiver, getSender, getSenderRole
-
Constructor Details
-
SchedulingMessage
Builds a message with the specified action- Parameters:
schedulerAction
- the action to be performedinfo
- additional information
-