Includes SSH tunneling and a local socket service for forwarding data.
More...
#include <ChannelSSHTunnelForward.h>
|
enum class | SOCKET_TYPE { UnixSocket
, Socket
} |
|
|
void | sigServer (QString szHost, quint16 nPort) |
|
void | sigServer (QString szUnixDomainSocket) |
|
void | sigBlockShowMessageBox (const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString()) |
| Block background threads and display message dialogs in foreground threads (QMessageBox)
|
|
void | sigBlockShowWidget (const QString &className, int &nRet, void *pContext) |
| Blocks the background thread and displays the window in the foreground thread.
|
|
void | sigConnected () |
| emit when the channel is connected.
|
|
void | sigDisconnected () |
| emit when the channel is disconnected
|
|
void | sigError (int nErr, const QString &szErr) |
| emit when the channel is error
|
|
Includes SSH tunneling and a local socket service for forwarding data.
Data is forwarded over a local socket and SSH tunnel. It is suitable for cases where the library does not implement a transport layer interface, only socket.
- Note
- It is only used in CSSHTunnelThread
- See also
- CSSHTunnelThread
Definition at line 22 of file ChannelSSHTunnelForward.h.
◆ SOCKET_TYPE
enum class CChannelSSHTunnelForward::SOCKET_TYPE |
|
strong |
◆ ~CChannelSSHTunnelForward()
CChannelSSHTunnelForward::~CChannelSSHTunnelForward |
( |
| ) |
|
|
virtual |
◆ AcceptConnect()
int CChannelSSHTunnelForward::AcceptConnect |
( |
| ) |
|
|
private |
◆ close()
void CChannelSSHTunnelForward::close |
( |
| ) |
|
|
overridevirtual |
◆ CloseSocket()
int CChannelSSHTunnelForward::CloseSocket |
( |
socket_t & |
s | ) |
|
|
private |
◆ open()
bool CChannelSSHTunnelForward::open |
( |
OpenMode |
mode | ) |
|
|
overridevirtual |
◆ OpenSocket()
int CChannelSSHTunnelForward::OpenSocket |
( |
| ) |
|
|
private |
◆ Process()
int CChannelSSHTunnelForward::Process |
( |
| ) |
|
|
virtual |
◆ ReadConnect()
int CChannelSSHTunnelForward::ReadConnect |
( |
| ) |
|
|
private |
◆ SSHReadyRead()
int CChannelSSHTunnelForward::SSHReadyRead |
( |
| ) |
|
|
private |
◆ m_BufferLength
const int CChannelSSHTunnelForward::m_BufferLength = 1024 |
|
private |
◆ m_Connector
socket_t CChannelSSHTunnelForward::m_Connector |
|
private |
◆ m_Listen
socket_t CChannelSSHTunnelForward::m_Listen |
|
private |
◆ m_pBuffer
char* CChannelSSHTunnelForward::m_pBuffer |
|
private |
◆ m_SocketType
SOCKET_TYPE CChannelSSHTunnelForward::m_SocketType |
|
private |
The documentation for this class was generated from the following files: