class documentation
class GetArgumentVector(UtilityProcessProtocol): (source)
Protocol which will read a serialized argv from a process and expose it to interested parties.
Method | parse |
Parse the output from the process to which this protocol was connected, which is a single unterminated line of \0-separated strings giving the argv of that process. Return this as a list of str objects. |
Class Variable | program |
Undocumented |
Inherited from UtilityProcessProtocol
:
Class Method | run |
Run a Python process connected to a new instance of this protocol class. Return the protocol instance. |
Method | __init__ |
Undocumented |
Method | get |
Return a Deferred which will fire with the result of parseChunks when the child process exits. |
Method | out |
Accumulate output from the child process in a list. |
Method | process |
Handle process termination by parsing all received output and firing any waiting Deferreds. |
Instance Variable | bytes |
Undocumented |
Instance Variable | requests |
Undocumented |
Method | _fire |
Callback all Deferreds returned up until now by getResult with the given result object. |
Inherited from ProcessProtocol
(via UtilityProcessProtocol
):
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 | err |
This will be called when stderr is closed. |
Method | err |
Some data was received from stderr. |
Method | in |
This will be called when stdin is closed. |
Method | out |
This will be called when stdout is closed. |
Method | process |
This will be called when the subprocess exits. |
Class Variable | transport |
Undocumented |
Inherited from BaseProtocol
(via UtilityProcessProtocol
, ProcessProtocol
):
Method | connection |
Called when a connection is made. |
Method | make |
Make a connection to a transport and a server. |
Instance Variable | connected |
Undocumented |