class documentation
class MulticastPort(MulticastMixin, Port): (source)
Constructor: MulticastPort(port, proto, interface, maxPacketSize, ...)
Implements interfaces: twisted.internet.interfaces.IMulticastTransport
UDP Port that supports multicasting.
Method | __init__ |
Initialize with a numeric port to listen on. |
Method | create |
Undocumented |
Instance Variable | listen |
Undocumented |
Inherited from MulticastMixin
:
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | join |
No summary |
Method | leave |
No summary |
Method | set |
Undocumented |
Method | set |
No summary |
Method | set |
Undocumented |
Class Variable | address |
Undocumented |
Class Variable | reactor |
Undocumented |
Class Variable | socket |
Undocumented |
Method | _addrpack |
Pack an IP address literal into bytes, according to the address family of this transport. |
Method | _joinleave |
Undocumented |
Property | _ipproto |
Undocumented |
Property | _joingroup |
Undocumented |
Property | _leavegroup |
Undocumented |
Property | _multiif |
Undocumented |
Property | _multiloop |
Undocumented |
Inherited from Port
(via MulticastMixin
):
Method | __repr__ |
Undocumented |
Method | cb |
Undocumented |
Method | connect |
'Connect' to remote server. |
Method | connection |
Cleans up my socket. |
Method | do |
Undocumented |
Method | get |
Checks if broadcast is currently allowed on this port. |
Method | get |
Return a socket object. |
Method | get |
Return the local address of the UDP connection |
Method | handle |
Undocumented |
Method | log |
Returns the name of my class, to prefix log entries with. |
Method | lose |
Close the connection at the next available opportunity. |
Method | set |
Set whether this port may broadcast. This is disabled by default. |
Method | set |
Initialize the logstr attribute to be used by logPrefix. |
Method | start |
Create and bind my socket, and begin listening on it. |
Method | stop |
Stop listening on this port. |
Method | write |
Write a datagram. |
Method | write |
Write an iterable of byte strings to the physical connection. |
Class Variable | dynamic |
Undocumented |
Instance Variable | address |
Undocumented |
Instance Variable | address |
Undocumented |
Instance Variable | connected |
Undocumented |
Instance Variable | d |
Undocumented |
Instance Variable | interface |
Undocumented |
Instance Variable | logstr |
Undocumented |
Instance Variable | port |
Undocumented |
Instance Variable | protocol |
Undocumented |
Instance Variable | read |
Undocumented |
Method | _bind |
Undocumented |
Method | _connect |
Undocumented |
Method | _lose |
Undocumented |
Method | _set |
Resolve address family for the socket. |
Instance Variable | _connected |
Undocumented |
Instance Variable | _real |
Undocumented |
Inherited from FileHandle
(via MulticastMixin
, Port
):
Method | data |
Undocumented |
Method | do |
Undocumented |
Method | get |
Undocumented |
Method | get |
Get the remote address of this connection. |
Method | lose |
Undocumented |
Method | pause |
Pause producing data. |
Method | read |
Indicates read connection was lost. |
Method | read |
Undocumented |
Method | resume |
Resume producing data. |
Method | start |
Undocumented |
Method | start |
Override in a subclass to cause the reactor to monitor this selectable for write events. This will be called once in unregisterProducer if loseConnection has previously been called, so that the connection can actually close. |
Method | stop |
Stop consuming data. |
Method | stop |
Stop producing data. |
Method | stop |
Undocumented |
Method | stop |
Undocumented |
Method | write |
Indicates write connection was lost. |
Method | write |
Undocumented |
Constant | SEND |
Undocumented |
Class Variable | disconnecting |
Undocumented |
Class Variable | max |
Undocumented |
Class Variable | write |
Undocumented |
Instance Variable | data |
Undocumented |
Instance Variable | disconnected |
Undocumented |
Instance Variable | offset |
Undocumented |
Instance Variable | producer |
Undocumented |
Instance Variable | producer |
Undocumented |
Instance Variable | reading |
Undocumented |
Instance Variable | writing |
Undocumented |
Method | _cb |
Undocumented |
Method | _cb |
Undocumented |
Method | _close |
Undocumented |
Method | _dispatch |
Dispatch previously read data. Return True if self.reading and we don't have any more data |
Method | _handle |
Returns False if we should stop reading for now |
Method | _handle |
Returns false if we should stop writing for now |
Method | _resume |
Undocumented |
Method | _resume |
Undocumented |
Class Variable | _write |
Undocumented |
Instance Variable | _read |
Undocumented |
Instance Variable | _read |
Undocumented |
Instance Variable | _read |
Undocumented |
Instance Variable | _read |
Undocumented |
Instance Variable | _read |
Undocumented |
Instance Variable | _temp |
Undocumented |
Instance Variable | _temp |
Undocumented |
Instance Variable | _write |
Undocumented |
Instance Variable | _write |
Undocumented |
Inherited from _ConsumerMixin
(via MulticastMixin
, Port
, FileHandle
):
Method | register |
Register to receive data from a producer. |
Method | unregister |
Stop consuming data from a producer, without disconnecting. |
Instance Variable | streaming |
bool or int |
Inherited from _LogOwner
(via MulticastMixin
, Port
, FileHandle
, _ConsumerMixin
):
Method | _get |
Determine the log prefix to use for messages related to applicationObject, which may or may not be an interfaces.ILoggingContext provider. |