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
modemode to set on the unix socket. This parameter is deprecated. Permissions should be set on the directory which contains the UNIX socket.
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
modemode to set on the unix socket. This parameter is deprecated. Permissions should be set on the directory which contains the UNIX socket.
ReturnsAn object which provides IListeningPort.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:12:41.