de.fau.cs.www8.jadeowlcodec
Class OutgoingInformMessage

java.lang.Object
  extended by de.fau.cs.www8.jadeowlcodec.OutgoingMessage
      extended by de.fau.cs.www8.jadeowlcodec.OutgoingInformMessage

public class OutgoingInformMessage
extends OutgoingMessage


Field Summary
 
Fields inherited from class de.fau.cs.www8.jadeowlcodec.OutgoingMessage
agentKB, tBoxVersion
 
Constructor Summary
OutgoingInformMessage(IncomingQueryRefMessage query)
          creates an OutgoingInformMessage for informs that are replies to query-ref messages matching ResultSet types will be automatically added in the resulting ACLMessage an ACLMessage created from such a reply will already be set up by ACLMessage.createReply()
OutgoingInformMessage(IncomingQueryRefMessage query, java.util.Set<Uri.Individual> individuals)
          creates an OutgoingInformMessage for informs that are replies to query-ref messages matching ResultSet types will be automatically added in the resulting ACLMessage an ACLMessage created from such a reply will already be set up by ACLMessage.createReply()
OutgoingInformMessage(KnowledgeBase agentKB)
          creates an OutgoingInformMessage for proactive Informs, do not use this constructor for replies to query-ref
OutgoingInformMessage(KnowledgeBase agentKB, java.util.Set<Uri.Individual> individuals)
          creates an OutgoingInformMessage for proactive Informs, do not use this constructor for replies to query-ref
 
Method Summary
 jade.lang.acl.ACLMessage createACLMessage()
           
 int getPerformative()
           
 AssertionSet getTemporaryAssertionSet()
          an accessor to the outgoing AssertionSet to allow to further manipulation before sending
 void setQueryRefMessage(IncomingQueryRefMessage query)
           
protected  void wrapInEnvelope(jade.lang.acl.ACLMessage msg)
           
 
Methods inherited from class de.fau.cs.www8.jadeowlcodec.OutgoingMessage
wrapIntoACLMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutgoingInformMessage

public OutgoingInformMessage(KnowledgeBase agentKB)
creates an OutgoingInformMessage for proactive Informs, do not use this constructor for replies to query-ref


OutgoingInformMessage

public OutgoingInformMessage(KnowledgeBase agentKB,
                             java.util.Set<Uri.Individual> individuals)
creates an OutgoingInformMessage for proactive Informs, do not use this constructor for replies to query-ref

Parameters:
individuals - the URIs of the individuals that will be serialized as full descriptions (and not just as references)

OutgoingInformMessage

public OutgoingInformMessage(IncomingQueryRefMessage query)
creates an OutgoingInformMessage for informs that are replies to query-ref messages matching ResultSet types will be automatically added in the resulting ACLMessage an ACLMessage created from such a reply will already be set up by ACLMessage.createReply()

Parameters:
query - the query message that this is replying to

OutgoingInformMessage

public OutgoingInformMessage(IncomingQueryRefMessage query,
                             java.util.Set<Uri.Individual> individuals)
creates an OutgoingInformMessage for informs that are replies to query-ref messages matching ResultSet types will be automatically added in the resulting ACLMessage an ACLMessage created from such a reply will already be set up by ACLMessage.createReply()

Parameters:
query - the query message that this is replying to
individuals - the URIs of the individuals that will be serialized as full descriptions (and not just as references)
Method Detail

createACLMessage

public jade.lang.acl.ACLMessage createACLMessage()
Overrides:
createACLMessage in class OutgoingMessage

wrapInEnvelope

protected void wrapInEnvelope(jade.lang.acl.ACLMessage msg)
Specified by:
wrapInEnvelope in class OutgoingMessage

getPerformative

public int getPerformative()
Overrides:
getPerformative in class OutgoingMessage

getTemporaryAssertionSet

public AssertionSet getTemporaryAssertionSet()
an accessor to the outgoing AssertionSet to allow to further manipulation before sending

Returns:
the temporary assertionSet that will be used to create the content of the INFORM message

setQueryRefMessage

public void setQueryRefMessage(IncomingQueryRefMessage query)


Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg