wokkel.client.XMPPClient(StreamManager, service.Service)class documentation
wokkel.clientView Source (View In Hierarchy)
Service that initiates an XMPP client connection.
|Method||__init__||Construct a stream manager.|
|Method||startService||Start the service.|
|Method||stopService||Stop the service.|
|Method||initializationFailed||Called when stream initialization has failed.|
|Method||_authd||Called when the stream has been initialized.|
Inherited from StreamManager:
|Instance Variable||xmlstream||currently managed XML stream (type:
|Instance Variable||logTraffic||if true, log all traffic. (type:
|Instance Variable||timeout||Default IQ request timeout in seconds. (type:
|Method||addHandler||Add protocol handler.|
|Method||send||Send data over the XML stream.|
|Method||request||Send an IQ request and track the response.|
|Instance Variable||_initialized||Whether the stream represented by
|Instance Variable||_packetQueue||internal buffer of unsent data. See
|Instance Variable||_reactor||A provider of
|Method||_connected||Called when the transport connection has been established.|
|Method||_disconnected||Called when the stream has been closed.|
|Method||_onIQResponse||Handle iq response by firing associated deferred.|
|Instance Variable||handlers||List of protocol handlers. (type:
|Method||__iter__||Act as a container for handlers.|
|Method||removeHandler||Remove protocol handler.|
Inherited from Service:
|Method||setName||Set the name of the service.|
|Method||setServiceParent||Set the parent of the service. This method is responsible for setting
|Method||disownServiceParent||Use this API to remove an
|Method||privilegedStartService||Do preparation work for starting the service.|
Construct a stream manager.
|Parameters||factory||The stream factory to connect with.|
|reactor||A provider of |
Start the service.
Called when the stream has been initialized.
Save the JID that we were assigned by the server, as the resource might differ from the JID we asked for. This is stored on the authenticator by its constituent initializers.
Called when stream initialization has failed.
Stop the service (thereby disconnecting the current stream) and raise the exception.