Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module process :: Class ProcessWriter |
|
Logger
--+ |FileDescriptor
--+ |Ephemeral
--+ | ProcessWriter
(Internal) Helper class to write to Process's stdin.
I am a helper which describes a selectable asynchronous writer to a process's stdin.Method Summary | |
---|---|
Initialize, specifying a Process instance to connect to. | |
(inherited from Ephemeral )
| |
(inherited from Ephemeral )
| |
See abstract.FileDescriptor.connectionLost. | |
This does nothing. | |
Called when data is available for writing. (inherited from FileDescriptor )
| |
Return the fileno() of my process's stdin. | |
(inherited from Logger )
| |
Override this method to insert custom logging behavior. (inherited from Logger )
| |
Close the connection at the next available opportunity. (inherited from FileDescriptor )
| |
(inherited from FileDescriptor )
| |
Register to receive data from a producer. (inherited from FileDescriptor )
| |
(inherited from FileDescriptor )
| |
Start waiting for read availability. (inherited from FileDescriptor )
| |
Start waiting for write availability. (inherited from FileDescriptor )
| |
Stop consuming data. (inherited from FileDescriptor )
| |
(inherited from FileDescriptor )
| |
Stop waiting for read availability. (inherited from FileDescriptor )
| |
Stop waiting for write availability. (inherited from FileDescriptor )
| |
Stop consuming data from a producer, without disconnecting. (inherited from FileDescriptor )
| |
Reliably write some data. | |
(inherited from FileDescriptor )
| |
Write some data to the open process. | |
(inherited from Logger )
| |
Called after a loseConnection(), when all data has been written. (inherited from FileDescriptor )
|
Class Variable Summary | |
---|---|
int |
connected
|
int |
ic
|
Method Details |
---|
__init__(self,
proc)
Initialize, specifying a Process instance to connect to.
|
connectionLost(self, reason)See abstract.FileDescriptor.connectionLost. |
doRead(self)This does nothing. |
fileno(self)Return the fileno() of my process's stdin. |
write(self, data)Reliably write some data. If there is no buffered data this tries to write this data immediately, otherwise this adds data to be written the next time this file descriptor is ready for writing.
|
writeSomeData(self, data)Write some data to the open process. |
Class Variable Details |
---|
connected
|
ic
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:14 2003 | http://epydoc.sf.net |