Go to the latest version of this document.
t.i.u.Port(_UNIXPort, tcp.Port) : class documentation
Part of twisted.internet.unix
View In Hierarchy
No class docstring
Inherited from _UNIXPort:
||Returns a UNIXAddress.
Inherited from Port:
||a deferred created when
stopListening is called, and that will
fire when connection is lost. This is not to be used it directly: prefer
the deferred returned by
stopListening instead. (type:
||flag indicating that the
stopListening method has been called
and that no connections should be accepted anymore. (type:
||flag set once the listen has successfully been called on the socket. (type:
||Called when my socket is ready for reading.
||Stop accepting connections on this port.
||Returns the name of my class, to prefix log entries with.
indicating the listening address of this port.
||A string describing the connections which will be created by this port.
Normally this is
"TCP", since this is a TCP port,
but when the TLS implementation re-uses this class it overrides the value
"TLS". Only used for logging.
instance which was created and initialized outside of the reactor and will
be used to listen for connections (instead of a new socket being created by
||Create a new
Port based on an
existing listening SOCK_STREAM socket.
Inherited from BasePort (via Port):
||Raises a RuntimeError
Inherited from FileDescriptor (via Port, BasePort):
Inherited from _ConsumerMixin (via Port, BasePort, FileDescriptor):
None if no producer is registered, otherwise the registered
||A flag indicating whether the producer is currently paused. (type:
||A flag indicating whether the producer was registered as a streaming (ie
push) producer or not (ie a pull producer). This will determine whether
the consumer may ever need to pause and resume it, or if it can merely call
resumeProducing on it when buffer space is available.
||Register to receive data from a producer.
||Stop consuming data from a producer, without disconnecting.
Inherited from _LogOwner (via Port, BasePort, FileDescriptor):
Inherited from _SocketCloser (via Port):
Initialize with a numeric port 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.
API Documentation for Twisted, generated by pydoctor at 2012-12-26 12:18:15.
Log message for closing socket