Rabbit Remote Control 0.0.37
|
ssh tunnel class More...
#include <ChannelSSHTunnel.h>
Public Member Functions | |
CChannelSSHTunnel (CParameterSSHTunnel *parameter, CParameterNet *remote, CBackend *pBackend, bool bWakeUp=true, QObject *parent=nullptr) | |
int | Process () |
virtual int | DoWait (bool bWrite, int timeout) |
int | GetSocket () |
![]() | |
CChannelSSH (CBackend *pBackend, CParameterSSH *pPara, bool bWakeUp=true, QObject *parent=nullptr) | |
virtual bool | open (OpenMode mode) override |
virtual void | close () override |
virtual int | WakeUp () |
virtual QString | GetDetails () override |
Depend on information. | |
![]() | |
CChannel (QTcpSocket *pSocket, QObject *parent=nullptr) | |
CChannel. | |
Protected Member Functions | |
virtual qint64 | readData (char *data, qint64 maxlen) override |
virtual qint64 | writeData (const char *data, qint64 len) override |
![]() | |
CChannel (QObject *parent=nullptr) | |
virtual bool | isSequential () const override |
Private Member Functions | |
virtual int | OnOpen (ssh_session session) override |
virtual void | OnClose () override |
Private Attributes | |
CParameterNet * | m_pRemoteNet |
Additional Inherited Members | |
![]() | |
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 | |
![]() | |
static int | InitTranslation () |
Initial translation. | |
static int | RemoveTranslation () |
Remove translation. | |
static QString | GetSize (qint64 size) |
![]() | |
ssh_session | m_Session |
ssh_channel | m_Channel |
CBackend * | m_pBackend |
CParameterSSH * | m_pParameter |
Channel::CEvent * | m_pEvent |
ssh tunnel class
Definition at line 22 of file ChannelSSHTunnel.h.
|
virtual |
Definition at line 41 of file ChannelSSHTunnel.cpp.
|
virtual |
Definition at line 318 of file ChannelSSHTunnel.cpp.
int CChannelSSHTunnel::GetSocket | ( | ) |
Definition at line 48 of file ChannelSSHTunnel.cpp.
|
overrideprivatevirtual |
Reimplemented from CChannelSSH.
Definition at line 55 of file ChannelSSHTunnel.cpp.
|
overrideprivatevirtual |
Reimplemented from CChannelSSH.
Definition at line 90 of file ChannelSSHTunnel.cpp.
int CChannelSSHTunnel::Process | ( | ) |
Definition at line 141 of file ChannelSSHTunnel.cpp.
|
overrideprotectedvirtual |
Reimplemented from CChannel.
Definition at line 236 of file ChannelSSHTunnel.cpp.
|
overrideprotectedvirtual |
Reimplemented from CChannel.
Definition at line 278 of file ChannelSSHTunnel.cpp.
|
private |
Definition at line 48 of file ChannelSSHTunnel.h.