SSHExecuteThread Class Reference

#include <sshexecutethread.h>

Collaboration diagram for SSHExecuteThread:

Collaboration graph
[legend]

List of all members.

Signals

void cmdSent (QStringList outerrcmd)

Public Member Functions

 SSHExecuteThread (Myssh *, QString cmd)
void run ()

Private Attributes

Myssh_ssh
QString _cmd


Detailed Description

Execute on a thread a specified command over an SSH connection

Definition at line 18 of file sshexecutethread.h.


Constructor & Destructor Documentation

SSHExecuteThread::SSHExecuteThread ( Myssh s,
QString  c 
)

Construct an SSHExecuteThread to run a specified command

Parameters:
s ssh connection to run the command on
c command to execute on the host

Definition at line 15 of file sshexecutethread.cpp.


Member Function Documentation

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().

Here is the call graph for this function:

void SSHExecuteThread::cmdSent ( QStringList  outerrcmd  )  [signal]

Signal emitted once the command is fully executed

Parameters:
outerrcmd List of 3 strings : output stream, error stream and the command executed.

Referenced by run().


Member Data Documentation

Myssh* SSHExecuteThread::_ssh [private]

Definition at line 22 of file sshexecutethread.h.

Referenced by run().

QString SSHExecuteThread::_cmd [private]

Definition at line 23 of file sshexecutethread.h.

Referenced by run().


The documentation for this class was generated from the following files:
Generated on Mon Mar 16 18:46:09 2009 for QCJM by  doxygen 1.5.4