Part of twisted.protocols.basic View Source View In Hierarchy
Known subclasses: twisted.protocols.basic.Int16StringReceiver, twisted.protocols.basic.Int32StringReceiver, twisted.protocols.basic.Int8StringReceiver
| Instance Variables | recvd | buffer holding received data when splitted.
(type: str
) |
| structFormat | format used for struct packing/unpacking. Define it in subclass.
(type: str
) | |
| prefixLength | length of the prefix, in bytes. Define it in subclass, using
struct.calcsize(structFormat)
(type: int
) |
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 315 | Method | stringReceived | Override this. |
| 321 | Method | dataReceived | Convert int prefixed strings into calls to stringReceived. |
| 338 | Method | sendString | Send an prefixed string to the other end of the connection. |
Inherited from Protocol:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 384 | Method | connectionLost | Called when the connection is shut down. |
Inherited from BaseProtocol (via Protocol):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 341 | Method | makeConnection | Make a connection to a transport and a server. |
| 351 | Method | connectionMade | Called when a connection is made. |
Inherited from _PauseableMixin:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 172 | Method | pauseProducing | Undocumented |
| 176 | Method | resumeProducing | Undocumented |
| 181 | Method | stopProducing | Undocumented |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 384 | Method | connectionLost | Called when the connection is shut down. |
| 351 | Method | connectionMade | Called when a connection is made. |
| 321 | Method | dataReceived | Convert int prefixed strings into calls to stringReceived. |
| 341 | Method | makeConnection | Make a connection to a transport and a server. |
| 172 | Method | pauseProducing | Undocumented |
| 176 | Method | resumeProducing | Undocumented |
| 338 | Method | sendString | Send an prefixed string to the other end of the connection. |
| 181 | Method | stopProducing | Undocumented |
| 315 | Method | stringReceived | Override this. |
| Parameters | data | (type: str
) |