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 _PassiveConnectionFactory(protocol.ClientFactory): (source)
||Create an instance of a subclass of Protocol.|
||Called when a connection has failed to connect.|
||Called when an established connection is lost.|
||Called when a connection has been started.|
||Create a factory for the given protocol.|
||Make sure startFactory is called.|
||Make sure stopFactory is called.|
||Describe this factory for log messages.|
||This will be called before I begin listening on a Port or Connector.|
||This will be called before I stop listening on all Ports/Connectors.|
Create an instance of a subclass of Protocol.
The returned instance will handle input on an incoming server connection, and an attribute "factory" pointing to the creating factory.
None may be returned to immediately close the new connection.
Override this method to alter how Protocol instances get created.
|addr||an object implementing |
Called when a connection has failed to connect.
It may be useful to call connector.connect() - this will reconnect.