class twisted.internet.interfaces.IMulticastTransport(Interface): (source)
Known implementations: twisted.internet.iocpreactor.udp.MulticastPort, twisted.internet.udp.MulticastPort
Additional functionality for multicast UDP.
Method | getOutgoingInterface | Return interface of outgoing multicast packets. |
Method | setOutgoingInterface | Set interface for outgoing multicast packets. |
Method | getLoopbackMode | Return if loopback mode is enabled. |
Method | setLoopbackMode | Set if loopback mode is enabled. |
Method | getTTL | Get time to live for multicast packets. |
Method | setTTL | Set time to live on multicast packets. |
Method | joinGroup | Join a multicast group. Returns Deferred of success or failure. |
Method | leaveGroup | Leave multicast group, return Deferred of success. |
Return interface of outgoing multicast packets.
Returns | Undocumented (type: str ) |
Set interface for outgoing multicast packets.
Returns Deferred of success.
Parameters | addr | Undocumented (type: str ) |
Set if loopback mode is enabled.
Parameters | mode | Undocumented (type: bool ) |
Set time to live on multicast packets.
Parameters | ttl | Undocumented (type: int ) |