Class MessageForwardPlan


  • public class MessageForwardPlan
    extends AbstractMultipleAgentsPlan
    Receive a message sent to itself and forward it to another agent by exchanging the receiver in the message.
    • Constructor Detail

      • MessageForwardPlan

        public MessageForwardPlan()
    • Method Detail

      • body

        public void body()
        The body method is called on the instantiated plan instance from the scheduler.
        Specified by:
        body in class Plan