class documentation
class CommandBuilder(object):
Undocumented
| Static Method | |
Prepares a command to be run in Bash. |
| Method | __init__ |
Initializes this class. |
| Method | |
Returns the complete child process command. |
| Class Method | _ |
Returns the socat version, as a tuple of ints. |
| Method | _ |
Returns the command for measuring throughput. |
| Method | _ |
Returns the command to read/write the magic value. |
| Method | _ |
Returns the socat command. |
| Method | _ |
Returns the command for the transport part of the daemon. |
| Constant | _SOCAT |
Undocumented |
| Instance Variable | _dd |
Undocumented |
| Instance Variable | _dd |
Undocumented |
| Instance Variable | _mode |
Undocumented |
| Instance Variable | _opts |
Undocumented |
| Instance Variable | _socat |
Undocumented |
Initializes this class.
| Parameters | |
| mode | Daemon mode (import or export) |
| opts | Options object |
| socat | File descriptor socat should write its stderr to |
| dd | File descriptor dd should write its stderr to |
| dd | File descriptor the child should write dd's PID to |