|
Rabbit Remote Control 0.1.0-bate5
|
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 () |
Public Member Functions inherited from CChannelSSH | |
| 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. | |
Public Member Functions inherited from CChannel | |
| 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 |
Protected Member Functions inherited from CChannel | |
| 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 | |
Signals inherited from CChannel | |
| 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 Public Member Functions inherited from CChannel | |
| static int | InitTranslation () |
| Initial translation. | |
| static int | RemoveTranslation () |
| Remove translation. | |
Protected Attributes inherited from CChannelSSH | |
| 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.