#include <sshexecutethread.h>
Signals | |
void | cmdSent (QStringList outerrcmd) |
Public Member Functions | |
SSHExecuteThread (Myssh *, QString cmd) | |
void | run () |
Private Attributes | |
Myssh * | _ssh |
QString | _cmd |
Definition at line 18 of file sshexecutethread.h.
SSHExecuteThread::SSHExecuteThread | ( | Myssh * | s, | |
QString | c | |||
) |
Construct an SSHExecuteThread to run a specified command
s | ssh connection to run the command on | |
c | command to execute on the host |
Definition at line 15 of file sshexecutethread.cpp.
void SSHExecuteThread::run | ( | ) |
Run the thread Will emit cmdSent(QStringList) on completion
Definition at line 23 of file sshexecutethread.cpp.
References _cmd, _ssh, cmdSent(), and Myssh::send_cmd().
void SSHExecuteThread::cmdSent | ( | QStringList | outerrcmd | ) | [signal] |
Signal emitted once the command is fully executed
outerrcmd | List of 3 strings : output stream, error stream and the command executed. |
Referenced by run().
Myssh* SSHExecuteThread::_ssh [private] |
QString SSHExecuteThread::_cmd [private] |