Enum Class FIPAPerformative

java.lang.Object
java.lang.Enum<FIPAPerformative>
com.tnsai.protocols.fipa.FIPAPerformative
All Implemented Interfaces:
Serializable, Comparable<FIPAPerformative>, Constable

public enum FIPAPerformative extends Enum<FIPAPerformative>
FIPA Agent Communication Language (ACL) performatives.

Performatives define the communicative act intended by a message. Based on FIPA ACL specification (FIPA00037).

Categories

  • Assertive - Inform, Confirm, Disconfirm
  • Directive - Request, Query, Subscribe
  • Commissive - Propose, Accept, Reject
  • Expressive - Not typically used in agent systems
  • Declarative - Cancel, Failure
See Also:
  • Enum Constant Details

    • INFORM

      public static final FIPAPerformative INFORM
      Sender informs receiver of a proposition. Precondition: Sender believes the proposition.
    • CONFIRM

      public static final FIPAPerformative CONFIRM
      Sender confirms a previously uncertain proposition.
    • DISCONFIRM

      public static final FIPAPerformative DISCONFIRM
      Sender denies a previously uncertain proposition.
    • INFORM_IF

      public static final FIPAPerformative INFORM_IF
      Sender infers receiver's belief is false.
    • INFORM_REF

      public static final FIPAPerformative INFORM_REF
      Sender provides object reference.
    • REQUEST

      public static final FIPAPerformative REQUEST
      Sender requests receiver to perform an action.
    • REQUEST_WHEN

      public static final FIPAPerformative REQUEST_WHEN
      Sender requests receiver to perform action when condition holds.
    • REQUEST_WHENEVER

      public static final FIPAPerformative REQUEST_WHENEVER
      Sender requests receiver to perform action repeatedly.
    • QUERY_REF

      public static final FIPAPerformative QUERY_REF
      Sender asks for object matching description.
    • QUERY_IF

      public static final FIPAPerformative QUERY_IF
      Sender asks whether proposition is true.
    • SUBSCRIBE

      public static final FIPAPerformative SUBSCRIBE
      Sender subscribes to receive updates.
    • PROPOSE

      public static final FIPAPerformative PROPOSE
      Sender makes a proposal to receiver.
    • ACCEPT_PROPOSAL

      public static final FIPAPerformative ACCEPT_PROPOSAL
      Sender accepts a proposal.
    • REJECT_PROPOSAL

      public static final FIPAPerformative REJECT_PROPOSAL
      Sender rejects a proposal.
    • AGREE

      public static final FIPAPerformative AGREE
      Sender agrees to perform action.
    • REFUSE

      public static final FIPAPerformative REFUSE
      Sender refuses to perform action.
    • CFP

      public static final FIPAPerformative CFP
      Sender offers to perform service.
    • CANCEL

      public static final FIPAPerformative CANCEL
      Sender cancels a previous request.
    • FAILURE

      public static final FIPAPerformative FAILURE
      Sender reports failure to perform action.
    • NOT_UNDERSTOOD

      public static final FIPAPerformative NOT_UNDERSTOOD
      Sender doesn't understand message.
    • PROPAGATE

      public static final FIPAPerformative PROPAGATE
      Sender propagates message to others.
    • PROXY

      public static final FIPAPerformative PROXY
      Sender proxies message through receiver.
  • Method Details

    • values

      public static FIPAPerformative[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FIPAPerformative valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription()
      Gets performative description.
      Returns:
      description
    • getCategory

      public FIPAPerformative.Category getCategory()
      Gets performative category.
      Returns:
      category
    • isInitiating

      public boolean isInitiating()
      Checks if this is an initiating performative.
      Returns:
      true if typically starts a conversation
    • isResponding

      public boolean isResponding()
      Checks if this is a responding performative.
      Returns:
      true if typically responds to an initiator
    • isPositive

      public boolean isPositive()
      Checks if this indicates success/positive response.
      Returns:
      true if positive
    • isNegative

      public boolean isNegative()
      Checks if this indicates failure/negative response.
      Returns:
      true if negative