Search bar offers the following options:
Term presence. The below example searches for documents that
must contain “foo”, might contain “bar” and must not contain “baz”:
+foo bar -baz
Wildcards. The below example searches for documents with words beginning with “foo”:
Search in specific fields. The following search matches all objects
in "twisted.mail" that matches “search”:
Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.
Fuzzy matches. The following search matches all documents
that have a word within 1 edit distance of “foo”:
Results provided by Lunr.js
class StreamManager(XMPPHandlerCollection): (source)
Business logic representing a managed XMPP connection.
This maintains a single XMPP connection and provides facilities for packet routing and transmission. Business logic modules are objects providing
ijabber.IXMPPHandler (like subclasses of
XMPPHandler), and added using
||Add protocol handler.|
||Called when stream initialization has failed.|
||Send data over the XML stream.|
||if true, log all traffic.|
||currently managed XML stream|
||Called when the stream has been initialized.|
||Called when the transport connection has been established.|
||Called when the stream has been closed.|
||Whether the stream represented by
||internal buffer of unsent data. See
||Act as a container for handlers.|
||Remove protocol handler.|
||List of protocol handlers.|
Add protocol handler.
When an XML stream has already been established, the handler's connectionInitialized will be called to get it up to speed.
Called when stream initialization has failed.
Stream initialization has halted, with the reason indicated by reason. It may be retried by calling the authenticator's initializeStream. See the respective authenticators for details.
|reason:||A failure instance indicating why stream initialization failed.|
Send data over the XML stream.
When there is no established XML stream, the data is queued and sent out when a new XML stream has been established and initialized.
|obj||data to be sent over the XML stream. See |
Called when the stream has been initialized.
Send out cached stanzas and call each handler's connectionInitialized method.
Called when the transport connection has been established.
Here we optionally set up traffic logging (depending on
logTraffic) and call each handler's makeConnection method with the
Called when the stream has been closed.
From this point on, the manager doesn't interact with the
XmlStream anymore and notifies each handler that the connection was lost by calling its connectionLost method.
Whether the stream represented by
xmlstream has been initialized. This is used when caching outgoing stanzas.