Class KillAgent

    • Constructor Detail

      • KillAgent

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

      • setAgent

        public void setAgent​(AID id)
        Set the agent slot of this action.
        Parameters:
        id - The agent identifier of the agent to terminate.
      • getAgent

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

        public void setPassword​(String p)
        Set the password slot of this action.
        Parameters:
        p - The password to authenticate the principal requesting the agent termination.
      • getPassword

        public String getPassword()
        Retrieve the value of the password slot of this event, containing the password to authenticate the principal requesting the agent termination.
        Returns:
        The value of the password slot, or null if no value was set.