t.i.u.DatagramPort(_UNIXPort, udp.Port) : class documentation

Part of twisted.internet.unix View Source View In Hierarchy

Known subclasses: twisted.internet.unix.ConnectedDatagramPort

Implements interfaces: twisted.internet.interfaces.IUNIXDatagramTransport

Datagram UNIX port, listening for packets.

Method __init__ Initialize with address to listen on.
Method __repr__ Undocumented
Method write Write a datagram.
Method connectionLost Cleans up my socket.
Method setLogStr Initialize the logstr attribute to be used by logPrefix.
Method _bindSocket Prepare and assign a socket.socket instance to self.socket.

Inherited from _LogOwner (via Port, BasePort, FileDescriptor):

Method _getLogPrefix Determine the log prefix to use for messages related to applicationObject, which may or may not be an interfaces.ILoggingContext provider.

Inherited from _LogOwner (via Port, BasePort, FileDescriptor):

Method _getLogPrefix Determine the log prefix to use for messages related to applicationObject, which may or may not be an interfaces.ILoggingContext provider.

Inherited from _LogOwner (via Port, BasePort, FileDescriptor):

Method _getLogPrefix Determine the log prefix to use for messages related to applicationObject, which may or may not be an interfaces.ILoggingContext provider.

Inherited from _LogOwner (via Port, BasePort, FileDescriptor):

Method _getLogPrefix Determine the log prefix to use for messages related to applicationObject, which may or may not be an interfaces.ILoggingContext provider.

Inherited from _LogOwner (via Port, BasePort, FileDescriptor):

Method _getLogPrefix Determine the log prefix to use for messages related to applicationObject, which may or may not be an interfaces.ILoggingContext provider.

Inherited from _LogOwner (via Port, BasePort, FileDescriptor):

Method _getLogPrefix Determine the log prefix to use for messages related to applicationObject, which may or may not be an interfaces.ILoggingContext provider.
def __init__(self, addr, proto, maxPacketSize=8192, mode=438, reactor=None): (source)

Initialize with address to listen on.

def __repr__(self): (source)
Undocumented
def _bindSocket(self): (source)

Prepare and assign a socket.socket instance to self.socket.

Either creates a new SOCK_DGRAM socket.socket bound to self.interface and self.port or takes an existing socket.socket provided via the interfaces.IReactorSocket.adoptDatagramPort interface.

def write(self, datagram, address): (source)

Write a datagram.

def connectionLost(self, reason=None): (source)

Cleans up my socket.

def setLogStr(self): (source)

Initialize the logstr attribute to be used by logPrefix.

API Documentation for Twisted, generated by pydoctor at 2015-04-13 15:26:48.