Package jade.core

Class ScalabilityTest.BitrateSenderAgent

  • All Implemented Interfaces:
    TimerListener, Serializable, Serializable, Runnable
    Enclosing class:
    ScalabilityTest

    public static class ScalabilityTest.BitrateSenderAgent
    extends Agent
    Inner class BitrateSenderAgent Send messages to the corresponding receiver. When the receiver gets message 0 takes the START time. When the receiver gets message N (number of iterations) takes the END time and completes
    See Also:
    Serialized Form
    • Constructor Detail

      • BitrateSenderAgent

        public BitrateSenderAgent()
    • Method Detail

      • setup

        protected void setup()
        Description copied from class: Agent
        This protected method is an empty placeholder for application specific startup code. Agent developers can override it to provide necessary behaviour. When this method is called the agent has been already registered with the Agent Platform AMS and is able to send and receive messages. However, the agent execution model is still sequential and no behaviour scheduling is active yet. This method can be used for ordinary startup tasks such as DF registration, but is essential to add at least a Behaviour object to the agent, in order for it to be able to do anything.
        Overrides:
        setup in class Agent
        See Also:
        Agent.addBehaviour(Behaviour b), Behaviour