Go to the latest version of this document.
search in docstrings

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”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +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”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`internet`.`interfaces`.`IMulticastTransport``

interface documentation

`class IMulticastTransport(Interface): (source)`

Known implementations: `twisted.internet.iocpreactor.udp.MulticastPort`, `twisted.internet.udp.MulticastPort`

View In Hierarchy

Additional functionality for multicast UDP.

Method | `getLoopbackMode` | Return if loopback mode is enabled.
Method | `getOutgoingInterface` | Return interface of outgoing multicast packets.
Method | `getTTL` | Get time to live for multicast packets.
Method | `joinGroup` | Join a multicast group. Returns `Deferred` of success or failure.
Method | `leaveGroup` | Leave multicast group, return `Deferred` of success.
Method | `setLoopbackMode` | Set if loopback mode is enabled.
Method | `setOutgoingInterface` | Set interface for outgoing multicast packets.
Method | `setTTL` | Set time to live on multicast packets.

def getLoopbackMode() -> `bool`: (source)

Return if loopback mode is enabled.

def getOutgoingInterface() -> `str`: (source)

Return interface of outgoing multicast packets.

def getTTL() -> `int`: (source)

Get time to live for multicast packets.

def joinGroup(addr: `str`, interface: `str`) -> `Deferred[None]`: (source)

Join a multicast group. Returns `Deferred` of success or failure.

If an error occurs, the returned `Deferred` will fail with `error.MulticastJoinError`.

def leaveGroup(addr: `str`, interface: `str`) -> `Deferred[None]`: (source)

Leave multicast group, return `Deferred` of success.

def setLoopbackMode(mode: `bool`): (source)

Set if loopback mode is enabled.

def setOutgoingInterface(addr: `str`): (source)

Set interface for outgoing multicast packets.

Returns Deferred of success.

def setTTL(ttl: `int`): (source)

Set time to live on multicast packets.