twisted.internet.unix.DatagramPort(_UNIXPort, udp.Port) class documentationtwisted.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. |
Initialize with address to listen on.
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.
Write a datagram.
Cleans up my socket.
Initialize the logstr attribute to be used by
logPrefix.