__init__(self,
server,
port=5347,
typ=None,
debug=[ ' always ' , ' nodebuilder ' ] ,
domains=None,
sasl=0,
bind=0,
route=0,
xcp=0)
(Constructor)
| source code
|
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. 'server' argument is a server name that you are
connecting to (f.e. "localhost"). 'port' can be specified if
'server' resolves to correct IP. If it is not then you'll need to specify
IP and port while calling "connect()".
- Overrides:
CommonClient.__init__
|