t.i.b.BasePort(abstract.FileDescriptor) : class documentation

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

Known subclasses: twisted.internet.tcp.Port, twisted.internet.udp.Port, twisted.pair.tuntap.TuntapPort

Basic implementation of a ListeningPort.

Note: This does not actually implement IListeningPort.
Method createInternetSocket Undocumented
Method doWrite Raises a RuntimeError

Inherited from FileDescriptor:

Method __init__ Undocumented
Method connectionLost The connection was lost.
Method writeSomeData Write as much as possible of the given data, immediately.
Method doRead Called when data is avaliable for reading.
Method writeConnectionLost Indicates write connection was lost.
Method readConnectionLost Indicates read connection was lost.
Method write Reliably write some data.
Method writeSequence Reliably write a sequence of data.
Method loseConnection Close the connection at the next available opportunity.
Method loseWriteConnection Undocumented
Method stopReading Stop waiting for read availability.
Method stopWriting Stop waiting for write availability.
Method startReading Start waiting for read availability.
Method startWriting Start waiting for write availability.
Method registerProducer Register to receive data from a producer.
Method unregisterProducer Stop consuming data from a producer, without disconnecting.
Method stopConsuming Stop consuming data.
Method resumeProducing Undocumented
Method pauseProducing Undocumented
Method stopProducing Stop producing data.
Method fileno File Descriptor number for select().
Method _postLoseConnection Called after a loseConnection(), when all data has been written.
Method _closeWriteConnection Undocumented

Inherited from Logger (via FileDescriptor):

Method logPrefix Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines.

Inherited from Ephemeral (via FileDescriptor):

Method __getstate__ Undocumented
Method __setstate__ Undocumented
def createInternetSocket(self): (source)
def doWrite(self): (source)
Raises a RuntimeError
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:02:37.