Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qabstractsocketenginereceiver_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// Copyright (C) 2016 Intel Corporation.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4// Qt-Security score:significant reason:default
5
6#ifndef QABSTRACTSOCKETENGINERECEIVER_P_H
7#define QABSTRACTSOCKETENGINERECEIVER_P_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtNetwork/private/qtnetworkglobal_p.h>
21
22
23
24QT_BEGIN_NAMESPACE
25
26class QAuthenticator;
27class QNetworkProxy;
28
29class Q_NETWORK_EXPORT QAbstractSocketEngineReceiver {
30public:
31 virtual ~QAbstractSocketEngineReceiver() = 0; // impl. in qabstractsocketengine.cpp
32 virtual void readNotification()= 0;
33 virtual void writeNotification()= 0;
34 virtual void closeNotification()= 0;
35 virtual void exceptionNotification()= 0;
36 virtual void connectionNotification()= 0;
37#ifndef QT_NO_NETWORKPROXY
38 virtual void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *authenticator)= 0;
39#endif
40};
41
42QT_END_NAMESPACE
43
44#endif // QABSTRACTSOCKETENGINERECEIVER_P_H