Class ThawedAgent

    • Constructor Detail

      • ThawedAgent

        public ThawedAgent()
        Default constructor. A default constructor is necessary for ontological classes.
    • Method Detail

      • getName

        public String getName()
        Retrieve the name of this event.
        Specified by:
        getName in interface Event
        Returns:
        A constant value for the event name.
      • setAgent

        public void setAgent​(AID id)
        Set the agent slot of this event.
        Parameters:
        id - The agent identifier of the newly suspended agent.
      • getAgent

        public AID getAgent()
        Retrieve the value of the agent slot of this event, containing the agent identifier of the newly suspended agent.
        Returns:
        The value of the agent slot, or null if no value was set.
      • setWhere

        public void setWhere​(ContainerID id)
        Set the where slot of this event.
        Parameters:
        id - The container identifier of the container where the newly frozen agent was deployed.
      • getWhere

        public ContainerID getWhere()
        Retrieve the value of the where slot of this event, containing the container identifier of the container where the newly frozen agent was deployed.
        Returns:
        The value of the where slot, or null if no value was set.
      • setBufferContainer

        public void setBufferContainer​(ContainerID id)
        Set the buffer-container slot of this event.
        Parameters:
        id - The container identifier of the container where the frozen agent will appear to reside (and where ACL messages for that agent will be redirected and buffered).
      • getBufferContainer

        public ContainerID getBufferContainer()
        Retrieve the value of the buffer-container slot of this event, containing the container identifier of the container where the frozen agent will appear to reside (and where ACL messages for that agent will be redirected and buffered).
        Returns:
        The value of the buffer-container slot, or null if no value was set.