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

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)
sets the message performative (string)
must be in ACLMessage.commacts

src/s/p/SPADE-2.2.1/spade/Agent.py   SPADE(Download)
                msg.addReceiver(a)
        if performative:
            msg.setPerformative(performative)
        if sender:
            a = AID.aid(name=sender, addresses=["xmpp://" + sender])
    def __register_in_AMS_with_ACL(self, state='active', ownership=None, debug=False):
 
        self._msg = ACLMessage.ACLMessage()
        self._msg.addReceiver(self.getAMS())
        self._msg.setPerformative('request')
    def __deregister_from_AMS_with_ACL(self, state=None, ownership=None, debug=False):
 
        _msg = ACLMessage.ACLMessage()
        _msg.addReceiver(self.getAMS())
        _msg.setPerformative('request')

src/s/p/spade-HEAD/spade/Agent.py   spade(Download)
                msg.addReceiver(a)
        if performative:
            msg.setPerformative(performative)
        if sender:
            a = AID.aid(name=sender, addresses=["xmpp://" + sender])
    def __register_in_AMS_with_ACL(self, state='active', ownership=None, debug=False):
 
        self._msg = ACLMessage.ACLMessage()
        self._msg.addReceiver(self.getAMS())
        self._msg.setPerformative('request')
    def __deregister_from_AMS_with_ACL(self, state=None, ownership=None, debug=False):
 
        _msg = ACLMessage.ACLMessage()
        _msg.addReceiver(self.getAMS())
        _msg.setPerformative('request')

src/s/p/SPADE-2.2.1/spade/ACLParser.py   SPADE(Download)
 
        if 'msgtype' in m:
            msg.setPerformative(m['msgtype'])
 
        if 'sender' in m:

src/s/p/spade-HEAD/spade/ACLParser.py   spade(Download)
 
        if 'msgtype' in m:
            msg.setPerformative(m['msgtype'])
 
        if 'sender' in m: