t.i.i.IReactorUNIXDatagram(Interface) : interface documentation

Part of twisted.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.
def connectUNIXDatagram(address, protocol, maxPacketSize=8192, mode=438, bindAddress=None): (source)
Connect a client protocol to a datagram UNIX socket.
Parametersaddressa path to a unix socket on the filesystem.
protocola twisted.internet.protocol.ConnectedDatagramProtocol instance
maxPacketSizemaximum packet size to accept
modeThe mode (not umask) to set on the unix socket. See platform specific documentation for information about how this might affect connection attempts. (type: int )
bindAddressaddress to bind to
ReturnsAn object which provides IConnector.
def listenUNIXDatagram(address, protocol, maxPacketSize=8192, mode=438): (source)
Listen on a datagram UNIX socket.
Parametersaddressa path to a unix socket on the filesystem.
protocola twisted.internet.protocol.DatagramProtocol instance.
maxPacketSizemaximum packet size to accept
modeThe mode (not umask) to set on the unix socket. See platform specific documentation for information about how this might affect connection attempts. (type: int )
ReturnsAn object which provides IListeningPort.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.