|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <RemoteTransport.h>
Inheritance diagram for TcpTransport:
Collaboration diagram for TcpTransport:Public Member Functions | |
| TcpTransport (QObject *parent=nullptr) | |
| void | setTarget (const QString &host, quint16 port) |
| void | setTlsEnabled (bool enabled) |
| void | setTlsVerifyPeer (bool verify) |
| void | setTlsCaCertificates (const QList< QSslCertificate > &certs) |
| void | setTlsClientCertificate (const QSslCertificate &cert, const QSslKey &key) |
| bool | send (const QByteArray &data) override |
| void | close () override |
| bool | isConnected () const override |
| void | connectToHost () |
Public Member Functions inherited from RemoteTransport | |
| RemoteTransport (QObject *parent=nullptr) | |
Additional Inherited Members | |
Signals inherited from RemoteTransport | |
| void | connected () |
| void | disconnected () |
| void | errorOccurred (const QString &message) |
Definition at line 56 of file RemoteTransport.h.
|
explicit |
Definition at line 64 of file RemoteTransport.cc.
|
overridevirtual |
Implements RemoteTransport.
Definition at line 104 of file RemoteTransport.cc.
References RemoteTransport::disconnected().
Referenced by TransportStrategy::reset(), TransportStrategy::setProtocol(), TransportStrategy::setTlsEnabled(), TransportStrategy::setTlsVerifyPeer(), and TransportStrategy::~TransportStrategy().
| void TcpTransport::connectToHost | ( | ) |
Definition at line 118 of file RemoteTransport.cc.
Referenced by TransportStrategy::send().
|
inlineoverridevirtual |
Implements RemoteTransport.
Definition at line 71 of file RemoteTransport.h.
Referenced by TransportStrategy::isConnected(), TransportStrategy::send(), and TransportStrategy::tcpConnected().
|
overridevirtual |
Implements RemoteTransport.
Definition at line 84 of file RemoteTransport.cc.
References RemoteTransport::errorOccurred().
Referenced by TransportStrategy::send().
| void TcpTransport::setTarget | ( | const QString & | host, |
| quint16 | port | ||
| ) |
Definition at line 69 of file RemoteTransport.cc.
| void TcpTransport::setTlsCaCertificates | ( | const QList< QSslCertificate > & | certs | ) |
Definition at line 77 of file RemoteTransport.cc.
Referenced by TransportStrategy::setTlsCaCertificates().
| void TcpTransport::setTlsClientCertificate | ( | const QSslCertificate & | cert, |
| const QSslKey & | key | ||
| ) |
Definition at line 78 of file RemoteTransport.cc.
Referenced by TransportStrategy::setTlsClientCertificate().
| void TcpTransport::setTlsEnabled | ( | bool | enabled | ) |
Definition at line 75 of file RemoteTransport.cc.
| void TcpTransport::setTlsVerifyPeer | ( | bool | verify | ) |
Definition at line 76 of file RemoteTransport.cc.