Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Channel
SSH
SSHTunnelThread.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#ifndef CSSHTUNNELTHREAD_H
4
#define CSSHTUNNELTHREAD_H
5
6
#include <QThread>
7
8
#include "ParameterChannelSSH.h"
9
24
class
CHANNEL_EXPORT
CSSHTunnelThread
:
public
QThread
25
{
26
Q_OBJECT
27
public
:
28
explicit
CSSHTunnelThread
(QSharedPointer<CParameterChannelSSH> parameter);
29
virtual
~CSSHTunnelThread
();
30
31
void
run()
override
;
32
33
void
Exit();
34
35
Q_SIGNALS:
43
void
sigServer
(QString szHost, quint16 nPort);
44
void
sigServer(QString szUnixDomainSocket);
45
void
sigError(
const
int
nError,
const
QString &szError = QString());
46
void
sigDisconnect();
47
48
private
:
49
QSharedPointer<CParameterChannelSSH> m_Parameter;
50
bool
m_bExit;
51
};
52
53
#endif
// CSSHTUNNELTHREAD_H
CSSHTunnelThread
Data is forwarded over a local socket and SSH tunnel.
Definition
SSHTunnelThread.h:25
CSSHTunnelThread::sigServer
void sigServer(QString szHost, quint16 nPort)
It is triggered when the socket service establishes a listener and is used to notify other local sock...
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力