class twisted.internet.interfaces.IReactorUNIXDatagram(Interface): (source)
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. (type: str ) |
protocol | a twisted.internet.protocol.ConnectedDatagramProtocol instance (type: ConnectedDatagramProtocol ) | |
maxPacketSize | maximum packet size to accept (type: int ) | |
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 (type: Optional[Tuple[str, int]] ) | |
Returns | An object which provides IConnector . (type: IConnector ) |
Listen on a datagram UNIX socket.
Parameters | address | a path to a unix socket on the filesystem. (type: str ) |
protocol | a twisted.internet.protocol.DatagramProtocol instance. (type: DatagramProtocol ) | |
maxPacketSize | maximum packet size to accept (type: int ) | |
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 . (type: IListeningPort ) |