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.Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 1022 | Method | createInternetSocket | Undocumented |
| 1031 | Method | doWrite | Raises a RuntimeError |
Inherited from FileDescriptor:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 43 | Method | __init__ | Undocumented |
| 50 | Method | connectionLost | The connection was lost. |
| 69 | Method | writeSomeData | Write as much as possible of the given data, immediately. |
| 81 | Method | doRead | Called when data is avaliable for reading. |
| 153 | Method | writeConnectionLost | Indicates write connection was lost. |
| 157 | Method | readConnectionLost | Indicates read connection was lost. |
| 161 | Method | write | Reliably write some data. |
| 185 | Method | writeSequence | Reliably write a sequence of data. |
| 214 | Method | loseConnection | Close the connection at the next available opportunity. |
| 239 | Method | loseWriteConnection | Undocumented |
| 243 | Method | stopReading | Stop waiting for read availability. |
| 251 | Method | stopWriting | Stop waiting for write availability. |
| 259 | Method | startReading | Start waiting for read availability. |
| 264 | Method | startWriting | Start waiting for write availability. |
| 280 | Method | registerProducer | Register to receive data from a producer. |
| 305 | Method | unregisterProducer | Stop consuming data from a producer, without disconnecting. |
| 310 | Method | stopConsuming | Stop consuming data. |
| 322 | Method | resumeProducing | Undocumented |
| 326 | Method | pauseProducing | Undocumented |
| 329 | Method | stopProducing | Stop producing data. |
| 333 | Method | fileno | File Descriptor number for select(). |
| 141 | Method | _postLoseConnection | Called after a loseConnection(), when all data has been written. |
| 149 | Method | _closeWriteConnection | Undocumented |
Inherited from Logger (via FileDescriptor):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 201 | Method | logPrefix | Override this method to insert custom logging behavior. Its |
Inherited from Ephemeral (via FileDescriptor):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 124 | Method | __getstate__ | Undocumented |
| 131 | Method | __setstate__ | Undocumented |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 124 | Method | __getstate__ | Undocumented |
| 43 | Method | __init__ | Undocumented |
| 131 | Method | __setstate__ | Undocumented |
| 50 | Method | connectionLost | The connection was lost. |
| 1022 | Method | createInternetSocket | Undocumented |
| 81 | Method | doRead | Called when data is avaliable for reading. |
| 1031 | Method | doWrite | Raises a RuntimeError |
| 333 | Method | fileno | File Descriptor number for select(). |
| 201 | Method | logPrefix | Override this method to insert custom logging behavior. Its |
| 214 | Method | loseConnection | Close the connection at the next available opportunity. |
| 239 | Method | loseWriteConnection | Undocumented |
| 326 | Method | pauseProducing | Undocumented |
| 157 | Method | readConnectionLost | Indicates read connection was lost. |
| 280 | Method | registerProducer | Register to receive data from a producer. |
| 322 | Method | resumeProducing | Undocumented |
| 259 | Method | startReading | Start waiting for read availability. |
| 264 | Method | startWriting | Start waiting for write availability. |
| 310 | Method | stopConsuming | Stop consuming data. |
| 329 | Method | stopProducing | Stop producing data. |
| 243 | Method | stopReading | Stop waiting for read availability. |
| 251 | Method | stopWriting | Stop waiting for write availability. |
| 305 | Method | unregisterProducer | Stop consuming data from a producer, without disconnecting. |
| 161 | Method | write | Reliably write some data. |
| 153 | Method | writeConnectionLost | Indicates write connection was lost. |
| 185 | Method | writeSequence | Reliably write a sequence of data. |
| 69 | Method | writeSomeData | Write as much as possible of the given data, immediately. |
| 149 | Method | _closeWriteConnection | Undocumented |
| 141 | Method | _postLoseConnection | Called after a loseConnection(), when all data has been written. |