Add state method for remote connection class

This commit is contained in:
Simon Stürz 2021-08-16 12:15:57 +02:00
parent 23462e194e
commit b8079cad41

View File

@ -62,6 +62,11 @@ bool TunnelProxyRemoteConnection::remoteConnected() const
return m_remoteConnected; return m_remoteConnected;
} }
TunnelProxyRemoteConnection::State TunnelProxyRemoteConnection::state() const
{
return m_state;
}
QAbstractSocket::SocketError TunnelProxyRemoteConnection::error() const QAbstractSocket::SocketError TunnelProxyRemoteConnection::error() const
{ {
return m_error; return m_error;