interface documentation
class IProcessProtocol(Interface): (source)
Known implementations: twisted.internet.protocol.ProcessProtocol
Interface for process-related event handlers.
Method | child |
Called when a file descriptor associated with the child process is closed. |
Method | child |
Called when data arrives from the child process. |
Method | make |
Called when the process has been created. |
Method | process |
Called when the child process exits and all file descriptors associated with it have been closed. |
Method | process |
Called when the child process exits. |
Called when a file descriptor associated with the child process is closed.
Parameters | |
childint | The file descriptor which was closed. |
Called when the process has been created.
Parameters | |
process:IProcessTransport | An object representing the process which has been created and associated with this protocol. |
Called when the child process exits and all file descriptors associated with it have been closed.
Parameters | |
reason:Failure | A failure giving the reason the child process terminated. The type of exception for this failure is either twisted.internet.error.ProcessDone or twisted.internet.error.ProcessTerminated . |
Called when the child process exits.
Parameters | |
reason:Failure | A failure giving the reason the child process terminated. The type of exception for this failure is either twisted.internet.error.ProcessDone or twisted.internet.error.ProcessTerminated . |
Present Since | |
8.2 |