Search code examples
javaagents-jade

JADE ACLMessage InReplyTo and ReplyWith


I am trying to create a JADE message with

                ACLMessage reqMsg = new ACLMessage(ACLMessage.REQUEST);

Basically, there are fields in this message that I can populate as I see in the API by using some setters. However, I dont understand the setInReplyTo and setReplyWith methods since I couldnt find enough explanation. What exactly I can use these fields/methods for ?


Solution

  • The two methods set the in-reply-to and reply-with message fields. The FIPA Specification describes these fields (as well as all the other ones) in detail.