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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/s/p/SPADE-2.2.1/spade/Organization.py   SPADE(Download)
            p = Presence()
            t = Behaviour.MessageTemplate(p)
            self.presenceBehaviour = self.PresenceBehaviour(self.muc_name, self.name, self.nick, self)
            self.myAgent.addBehaviour(self.presenceBehaviour, t)
            if self.type == "Matrix" or self.type == "Federation":
            p = Presence()
            t = Behaviour.MessageTemplate(p)
            self.presenceBehaviour = self.PresenceBehaviour(self.muc_name, self.name, self.nick, self)
            self.myAgent.addBehaviour(self.presenceBehaviour, t)
 

src/s/p/spade-HEAD/spade/Organization.py   spade(Download)
            p = Presence()
            t = Behaviour.MessageTemplate(p)
            self.presenceBehaviour = self.PresenceBehaviour(self.muc_name, self.name, self.nick, self)
            self.myAgent.addBehaviour(self.presenceBehaviour, t)
            if self.type == "Matrix" or self.type == "Federation":
            p = Presence()
            t = Behaviour.MessageTemplate(p)
            self.presenceBehaviour = self.PresenceBehaviour(self.muc_name, self.name, self.nick, self)
            self.myAgent.addBehaviour(self.presenceBehaviour, t)