Package common :: Module commands :: Class ConnectionCommands
[hide private]
[frames] | no frames]

Class ConnectionCommands

source code

This class depends on that it is a part of Connection() class
Instance Methods [hide private]
 
__init__(self) source code
 
getOurBareJID(self) source code
 
isSameJID(self, jid)
Test if the bare jid given is the same as our bare jid
source code
 
commandListQuery(self, con, iq_obj) source code
 
commandInfoQuery(self, con, iq_obj)
Send disco#info result for query for command (JEP-0050, example 6.).
source code
 
commandItemsQuery(self, con, iq_obj)
Send disco#items result for query for command.
source code
 
_CommandExecuteCB(self, con, iq_obj) source code
Method Details [hide private]

__init__(self)
(Constructor)

source code 

getOurBareJID(self)

source code 

isSameJID(self, jid)

source code 
Test if the bare jid given is the same as our bare jid

commandListQuery(self, con, iq_obj)

source code 

commandInfoQuery(self, con, iq_obj)

source code 
Send disco#info result for query for command (JEP-0050, example 6.). Return True if the result was sent, False if not

commandItemsQuery(self, con, iq_obj)

source code 
Send disco#items result for query for command. Return True if the result was sent, False if not.

_CommandExecuteCB(self, con, iq_obj)

source code