Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(28)  |  Call(28)  |  Derive(0)  |  Import(0)
ACLMessage class stores a message using the ACL language

src/s/p/SPADE-2.2.1/spade/Agent.py   SPADE(Download)
    def WUIController_sent(self, receivers=[], performative=None, sender=None, reply_with=None, reply_by=None, reply_to=None, in_reply_to=None, encoding=None, language=None, ontology=None, protocol=None, conversation_id=None, content=""):
        msg = ACLMessage.ACLMessage()
        if isinstance(receivers, types.StringType):
            a = AID.aid(name=receivers, addresses=["xmpp://" + receivers])
            msg.addReceiver(a)
    def newMessage(self):
        """Creates and returns an empty ACL message"""
        return ACLMessage.ACLMessage()
 
    def newContentObject(self):
            if (child.getNamespace() == "jabber:x:fipa") or (child.getNamespace() == u"jabber:x:fipa"):
                # It is a jabber-fipa message
                ACLmsg = ACLMessage.ACLMessage()
                ACLmsg._attrs.update(mess.attrs)
                try:
        the search template is an AmsAgentDescription class
        """
        msg = ACLMessage.ACLMessage()
        template = Behaviour.ACLTemplate()
        template.setConversationId(msg.getConversationId())
    def modifyAgent(self, AAD):
        """
        modifies the AmsAgentDescription of an agent in the AMS
        """
        msg = ACLMessage.ACLMessage()

src/s/p/spade-HEAD/spade/Agent.py   spade(Download)
    def WUIController_sent(self, receivers=[], performative=None, sender=None, reply_with=None, reply_by=None, reply_to=None, in_reply_to=None, encoding=None, language=None, ontology=None, protocol=None, conversation_id=None, content=""):
        msg = ACLMessage.ACLMessage()
        if isinstance(receivers, types.StringType):
            a = AID.aid(name=receivers, addresses=["xmpp://" + receivers])
            msg.addReceiver(a)
    def newMessage(self):
        """Creates and returns an empty ACL message"""
        return ACLMessage.ACLMessage()
 
    def newContentObject(self):
            if (child.getNamespace() == "jabber:x:fipa") or (child.getNamespace() == u"jabber:x:fipa"):
                # It is a jabber-fipa message
                ACLmsg = ACLMessage.ACLMessage()
                ACLmsg._attrs.update(mess.attrs)
                try:
        the search template is an AmsAgentDescription class
        """
        msg = ACLMessage.ACLMessage()
        template = Behaviour.ACLTemplate()
        template.setConversationId(msg.getConversationId())
    def modifyAgent(self, AAD):
        """
        modifies the AmsAgentDescription of an agent in the AMS
        """
        msg = ACLMessage.ACLMessage()

src/s/p/SPADE-2.2.1/spade/ACLParser.py   SPADE(Download)
        #print m.asList()
 
        msg = ACLMessage.ACLMessage()
 
        if 'msgtype' in m:
    def startDocument(self):
        self.msg = ACLMessage.ACLMessage()
 
    def endDocument(self):
        pass

src/s/p/spade-HEAD/spade/ACLParser.py   spade(Download)
        #print m.asList()
 
        msg = ACLMessage.ACLMessage()
 
        if 'msgtype' in m:
    def startDocument(self):
        self.msg = ACLMessage.ACLMessage()
 
    def endDocument(self):
        pass