Home | Trees | Index | Help |
---|
Package xmpp :: Module client :: Class Component |
|
CommonClient
--+
|
Component
Method Summary | |
---|---|
Init function for Components. | |
Authenticate component "name" with password "password". | |
This will connect to the server, and if the features tag is found then set the namespace to be jabber:client as that is required for jabberd2 | |
Inherited from CommonClient | |
Called on disconnection. | |
Default disconnect handler. | |
Default event handler. | |
Returns connection state. | |
Example of reconnection method. | |
Register handler that will be called on disconnect. | |
Unregister handler that is called on disconnect. |
Method Details |
---|
__init__(self,
server,
port=5347,
typ=None,
debug=['always', 'nodebuilder'])
Init function for Components. As components use a different auth
mechanism which includes the namespace of the component. Jabberd1.4 and
Ejabberd use the default namespace then for all client messages.
Jabberd2 uses jabber:client.
|
auth(self, name, password, dup=None)Authenticate component "name" with password "password". |
connect(self, server=None, proxy=None)This will connect to the server, and if the features tag is found then set the namespace to be jabber:client as that is required for jabberd2
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed May 4 07:28:29 2005 | http://epydoc.sf.net |