|
|
|
|
|
disconnect(self,
message='')
Called on disconnection - disconnect callback is picked based on state of
the client. |
source code
|
|
|
|
connect(self,
on_connect,
on_connect_failure,
hostname=None,
port=5222,
on_proxy_failure=None,
proxy=None,
secure_tuple=('plain', None, None))
Open XMPP connection (open XML streams in both directions) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
auth(self,
user,
password,
resource='',
sasl=True,
on_auth=None)
Authenticate connnection and bind resource. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getRoster(self,
on_ready=None,
force=False)
Return the Roster instance, previously plugging it in and requesting
roster from server if needed |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_peerhost(self)
Gets the ip address of the account, from which is made connection to the
server (e.g. |
source code
|
|