twisted.internet.interfaces.IReactorUNIXDatagram(Interface)
interface documentationtwisted.internet.interfaces
View Source
(View In Hierarchy)
Known implementations: twisted.internet.posixbase.PosixReactorBase
Datagram UNIX socket methods.
Method | connectUNIXDatagram | Connect a client protocol to a datagram UNIX socket. |
Method | listenUNIXDatagram | Listen on a datagram UNIX socket. |
Connect a client protocol to a datagram UNIX socket.
Parameters | address | a path to a unix socket on the filesystem. |
protocol | a twisted.internet.protocol.ConnectedDatagramProtocol
instance | |
maxPacketSize | maximum packet size to accept | |
mode | The mode (not umask) to set on the unix socket. See platform
specific documentation for information about how this might affect
connection attempts. (type: int ) | |
bindAddress | address to bind to | |
Returns | An object which provides IConnector . |
Listen on a datagram UNIX socket.
Parameters | address | a path to a unix socket on the filesystem. |
protocol | a twisted.internet.protocol.DatagramProtocol
instance. | |
maxPacketSize | maximum packet size to accept | |
mode | The mode (not umask) to set on the unix socket. See platform
specific documentation for information about how this might affect
connection attempts. (type: int ) | |
Returns | An object which provides IListeningPort . |