Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module win32eventreactor :: Class Process |
|
Logger
--+ |Ephemeral
--+ |FileDescriptor
--+ | Process
A process that integrates with the Twisted event loop.
Issues:import os, sys, mscvrt msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY) msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY)
Method Summary | |
---|---|
__init__(self,
reactor,
protocol,
command,
args,
environment,
path)
| |
__getstate__(self)
(inherited from Ephemeral )
| |
__setstate__(self,
state)
(inherited from Ephemeral )
| |
closeStderr(self)
| |
Close the process' stdin. | |
closeStdout(self)
| |
Shut down resources. | |
Will be called 3 times, by stdout/err threads and process handle. | |
Runs in thread. | |
Runs in thread. | |
Runs in thread. | |
errConnectionLost(self)
| |
File Descriptor number for select(). (inherited from FileDescriptor )
| |
inConnectionLost(self)
| |
Override this method to insert custom logging behavior. (inherited from Logger )
| |
Close the process' stdout, in and err. | |
outConnectionLost(self)
| |
pauseProducing(self)
(inherited from FileDescriptor )
| |
Register to receive data from a producer. (inherited from FileDescriptor )
| |
resumeProducing(self)
(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 )
| |
stopProducing(self)
(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 )
| |
Write data to the process' stdin. | |
writeSequence(self,
iovec)
(inherited from FileDescriptor )
| |
Write as much as possible of the given data, immediately. (inherited from FileDescriptor )
| |
_closeStdin(self)
| |
Called after a loseConnection(), when all data has been written. (inherited from FileDescriptor )
|
Class Variable Summary | |
---|---|
str |
buffer
|
Method Details |
---|
closeStdin(self)Close the process' stdin. |
connectionLost(self, reason=None)Shut down resources. |
connectionLostNotify(self)Will be called 3 times, by stdout/err threads and process handle. |
doReadErr(self)Runs in thread. |
doReadOut(self)Runs in thread. |
doWrite(self)Runs in thread. |
loseConnection(self)Close the process' stdout, in and err. |
write(self, data)Write data to the process' stdin. |
Class Variable Details |
---|
buffer
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Thu May 8 13:18:30 2003 | http://epydoc.sf.net |