Part of twisted.internet.endpoints View Source View In Hierarchy
| Instance Variable | transport | A _ProcessEndpointTransport
provider that is hooked to the wrapped IProtocol
provider. |
| Method | __init__ | No summary |
| Method | makeConnection | Call IProtocol
provider's makeConnection method with an ITransport
provider. |
| Method | childDataReceived | This is called with data from the process's stdout or stderr pipes. It checks the status of the errFlag to setermine if stderr should be logged (default) or dropped. |
| Method | processEnded | If the process ends with error.ProcessDone,
this method calls the IProtocol
provider's connectionLost
with a error.ConnectionDone |
Inherited from ProcessProtocol:
| Method | outReceived | Some data was received from stdout. |
| Method | errReceived | Some data was received from stderr. |
| Method | childConnectionLost | Undocumented |
| Method | inConnectionLost | This will be called when stdin is closed. |
| Method | outConnectionLost | This will be called when stdout is closed. |
| Method | errConnectionLost | This will be called when stderr is closed. |
| Method | processExited | This will be called when the subprocess exits. |
Inherited from BaseProtocol (via ProcessProtocol):
| Method | connectionMade | Called when a connection is made. |
| Parameters | proto | An IProtocol
provider. |
| errFlag | A constant belonging to StandardErrorBehavior
that determines if stderr is logged or dropped. | |
| executable | The file name (full path) to spawn. |
IProtocol
provider's makeConnection method with an ITransport
provider.| Parameters | process | An IProcessTransport
provider. |
error.ProcessDone,
this method calls the IProtocol
provider's connectionLost
with a error.ConnectionDone| See Also | ProcessProtocol.processEnded | |