xmpp.commands.TestCommand

Package xmpp :: Module commands :: Class TestCommand |
[hide private]
[frames] | no frames]

# Class TestCommand

source code

            client.PlugIn --+
                            |
    Command_Handler_Prototype --+
                                |
                               TestCommand

Example class. You should read source if you wish to understate how it works. Generally, it presents a "master" that giudes user through to calculate something.

Instance Methods | [hide private]
__init__(self, jid=`'````'`) Init internal constants. | source code
cmdFirstStage(self, conn, request) Determine | source code
cmdSecondStage(self, conn, request) | source code
cmdSecondStageReply(self, conn, request) | source code
cmdThirdStage(self, conn, request) | source code
cmdCancel(self, conn, request) | source code
Inherited from `Command_Handler_Prototype`: `Execute`, `getSessionID`, `plugin`, `plugout` Inherited from `Command_Handler_Prototype` (private): `_DiscoHandler` Inherited from `client.PlugIn`: `DEBUG`, `PlugIn`, `PlugOut`

Class Variables | [hide private]
| name = ``'``testcommand``'``
| description = ``'``a noddy example command``'``
Inherited from `Command_Handler_Prototype`: `count`, `discofeatures`

Method Details | [hide private]

### __init__(self, jid=`'````'`) (Constructor) | source code
Init internal constants. Overrides: Command_Handler_Prototype.__init__