Class KQMLMessage

All Implemented Interfaces:
Serializable, Cloneable

public class KQMLMessage extends ActMessage
This class describes a KQML message. It provides accessors for all reserved fields defined in the KQML Specification. Note that the :receiver and :sender are automatically mapped to the MaDKit AgentAddress.
Version:
MaDKit 1.0
Author:
Olivier Gutknecht
See Also:
  • Constructor Details

    • KQMLMessage

      public KQMLMessage(String performative)
      Constructor for KQMLMessage class
  • Method Details

    • getPerformative

      public String getPerformative()
    • getForce

      public String getForce()
    • setForce

      public void setForce(String s)
    • getReplyWith

      public String getReplyWith()
    • setReplyWith

      public void setReplyWith(String s)
    • getInReplyTo

      public String getInReplyTo()
      Overrides:
      getInReplyTo in class ActMessage
    • setInReplyTo

      public void setInReplyTo(String s)
      Overrides:
      setInReplyTo in class ActMessage
    • getLanguage

      public String getLanguage()
    • setLanguage

      public void setLanguage(String s)
    • getOntology

      public String getOntology()
    • setOntology

      public void setOntology(String s)
    • toString

      public String toString()
      Overrides:
      toString in class Message