Home | Trees | Index | Help |
|
---|
Package twisted :: Package internet :: Module stdio :: Class StandardIO |
|
Ephemeral
--+ |Logger
--+ |FileDescriptor
--+ | StandardIO
Method Summary | |
---|---|
Create me with a protocol. | |
Close standard input. | |
The connection was lost. | |
Some data's readable from standard input. | |
Write some data to standard output. | |
Inherited from FileDescriptor | |
Called after a loseConnection(), when all data has been written. | |
Called when data is available for writing. | |
File Descriptor number for select(). | |
Close the connection at the next available opportunity. | |
| |
Register to receive data from a producer. | |
| |
Start waiting for read availability. | |
Start waiting for write availability. | |
Stop consuming data. | |
| |
Stop waiting for read availability. | |
Stop waiting for write availability. | |
Stop consuming data from a producer, without disconnecting. | |
| |
Write as much as possible of the given data, immediately. | |
Inherited from Logger | |
Override this method to insert custom logging behavior. | |
Inherited from Ephemeral | |
| |
|
Class Variable Summary | |
---|---|
Inherited from FileDescriptor | |
tuple |
__implements__ = (<class twisted.internet.interfaces.IPr...
|
int |
bufferSize = 65536 |
int |
connected = 0 |
str |
dataBuffer = ''
|
int |
disconnected = 0 |
int |
disconnecting = 0 |
int |
offset = 0 |
NoneType |
producer = None |
int |
producerPaused = 0 |
int |
streamingProducer = 0 |
Method Details |
---|
__init__(self,
protocol)
|
closeStdin(self)Close standard input. |
connectionLost(self, reason)The connection was lost. |
doRead(self)Some data's readable from standard input. |
write(self, data)Write some data to standard output. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:07:49 2004 | http://epydoc.sf.net |