twisted.internet.unix.ConnectedDatagramPort(DatagramPort)
class documentationtwisted.internet.unix
View Source
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IUNIXDatagramConnectedTransport
A connected datagram UNIX socket.
Method | __init__ | Initialize with address to listen on. |
Method | startListening | Create and bind my socket, and begin listening on it. |
Method | connectionFailed | Called when a connection fails. Stop listening on the socket. |
Method | doRead | Called when my socket is ready for reading. |
Method | write | Write a datagram. |
Method | getPeer | Returns UNIXAddress . |
Inherited from _LogOwner (via DatagramPort, 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 DatagramPort, 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 DatagramPort, 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 DatagramPort, 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 DatagramPort, 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 DatagramPort, 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 DatagramPort, 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.
Create and bind my socket, and begin listening on it.
This is called on unserialization, and must be called after creating a server to begin listening on the specified port.
Called when a connection fails. Stop listening on the socket.
Parameters | reason | Why the connection failed. (type: Failure ) |
Called when my socket is ready for reading.
Write a datagram.