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

Class AdHocCommand

source code

Instance Methods [hide private]
 
__init__(self, conn, jid, sessionid) source code
 
buildResponse(self, request, status='executing', defaultaction=None, actions=None) source code
 
badRequest(self, stanza) source code
 
cancel(self, request) source code
Static Methods [hide private]
 
isVisibleFor(samejid)
This returns True if that command should be visible and invokable for others.
source code
Class Variables [hide private]
  commandnode = 'command'
  commandname = 'The Command'
  commandfeatures = xmpp.NS_DATA,
Method Details [hide private]

isVisibleFor(samejid)
Static Method

source code 
This returns True if that command should be visible and invokable for others. samejid - True when command is invoked by an entity with the same bare jid.

__init__(self, conn, jid, sessionid)
(Constructor)

source code 

buildResponse(self, request, status='executing', defaultaction=None, actions=None)

source code 

badRequest(self, stanza)

source code 

cancel(self, request)

source code 

Class Variable Details [hide private]

commandnode

Value:
'command'

commandname

Value:
'The Command'

commandfeatures

Value:
xmpp.NS_DATA,