Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qabstractsocket_p.h>
Static Public Member Functions | |
static void | pauseSocketNotifiers (QAbstractSocket *) |
static void | resumeSocketNotifiers (QAbstractSocket *) |
static QAbstractSocketEngine * | getSocketEngine (QAbstractSocket *) |
Static Public Member Functions inherited from QObjectPrivate | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Additional Inherited Members | |
Public Types inherited from QIODevicePrivate | |
enum | AccessMode : quint8 { Unset , Sequential , RandomAccess } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Definition at line 31 of file qabstractsocket_p.h.
QAbstractSocketPrivate::QAbstractSocketPrivate | ( | ) |
Constructs a QAbstractSocketPrivate. Initializes all members.
Definition at line 495 of file qabstractsocket.cpp.
References QABSTRACTSOCKET_BUFFERSIZE, and QIODevicePrivate::writeBufferChunkSize.
|
virtual |
Destructs the QAbstractSocket. If the socket layer is open, it will be reset.
Definition at line 505 of file qabstractsocket.cpp.
void QAbstractSocketPrivate::_q_abortConnectionAttempt | ( | ) |
This function is called after a certain number of seconds has passed while waiting for a connection. It simply tests the connection, and continues to the next address if the connection failed.
Definition at line 1121 of file qabstractsocket.cpp.
References _q_connectToNextAddress(), addresses, connectTimer, emit, QList< T >::isEmpty(), qDebug, setError(), QAbstractSocketEngine::setWriteNotificationEnabled(), socketEngine, socketError, QAbstractSocket::SocketTimeoutError, state, QTimer::stop(), and QAbstractSocket::UnconnectedState.
Referenced by _q_connectToNextAddress().
void QAbstractSocketPrivate::_q_connectToNextAddress | ( | ) |
Called by a queued or direct connection from _q_startConnecting() or _q_testConnection(), this function takes the first address of the pending addresses list and tries to connect to it. If the connection succeeds, QAbstractSocket will emit connected(). Otherwise, errorOccurred(ConnectionRefusedError) or errorOccurred(SocketTimeoutError) is emitted.
Definition at line 995 of file qabstractsocket.cpp.
References _q_abortConnectionAttempt(), addresses, cachedSocketDescriptor, QObject::connect(), QAbstractSocket::ConnectedState, QAbstractSocket::ConnectingState, QAbstractSocket::ConnectionRefusedError, connectTimer, QAbstractSocketEngine::connectToHost(), QByteArray::constData(), QList< T >::count(), DefaultConnectTimeout, Qt::DirectConnection, emit, QAbstractSocketEngine::error(), QAbstractSocketEngine::errorString(), fetchConnectionParameters(), host, initSocketLayer(), QList< T >::isEmpty(), QBasicAtomicPointer< X >::loadRelaxed(), QHostAddress::protocol(), qDebug, setError(), QAbstractSocketEngine::setWriteNotificationEnabled(), SIGNAL, SLOT, socketEngine, socketError, QTimer::start(), state, QAbstractSocketEngine::state(), QList< T >::takeFirst(), QObjectPrivate::threadData, QString::toLatin1(), QHostAddress::toString(), QAbstractSocket::UnconnectedState, QAbstractSocket::UnknownSocketError, and QAbstractSocket::UnsupportedSocketOperationError.
Referenced by _q_abortConnectionAttempt(), _q_startConnecting(), and _q_testConnection().
Slot connected to QHostInfo::lookupHost() in connectToHost(). This function starts the process of connecting to any number of candidate IP addresses for the host, if it was found. Calls _q_connectToNextAddress().
Definition at line 923 of file qabstractsocket.cpp.
References _q_connectToNextAddress(), addresses, QAbstractSocket::AnyIPProtocol, QList< T >::at(), QList< T >::clear(), QAbstractSocket::ConnectingState, QList< T >::count(), emit, hostLookupId, QAbstractSocket::HostLookupState, QAbstractSocket::HostNotFoundError, i, QList< T >::isEmpty(), preferredNetworkLayerProtocol, qDebug, qWarning, setError(), state, QHostAddress::toString(), QAbstractSocket::UnconnectedState, and QAbstractSocket::UnknownNetworkLayerProtocol.
void QAbstractSocketPrivate::_q_testConnection | ( | ) |
Tests if a connection has been established. If it has, connected() is emitted. Otherwise, _q_connectToNextAddress() is invoked.
Definition at line 1085 of file qabstractsocket.cpp.
References _q_connectToNextAddress(), addresses, QList< T >::clear(), QAbstractSocket::ConnectedState, connectTimer, QAbstractSocketEngine::error(), fetchConnectionParameters(), isProxyError(), pendingClose, qDebug, socketEngine, QAbstractSocketEngine::state(), and QTimer::stop().
Referenced by connectionNotification().
|
virtual |
Reimplemented in QSslSocketPrivate.
Definition at line 1501 of file qabstractsocket.cpp.
References QAbstractSocketEngine::AddressReusable, QAbstractSocketEngine::bind(), QAbstractSocketEngine::BindExclusively, QAbstractSocket::BoundState, cachedSocketDescriptor, QAbstractSocket::DefaultForPlatform, QAbstractSocket::DontShareAddress, emit, QAbstractSocketEngine::error(), QAbstractSocketEngine::errorString(), initSocketLayer(), QAbstractSocketEngine::isValid(), localAddress, QAbstractSocketEngine::localAddress(), localPort, QAbstractSocketEngine::localPort(), resolveProxy(), QAbstractSocket::ReuseAddressHint, setErrorAndEmit(), QAbstractSocketEngine::setOption(), QAbstractSocketEngine::setReadNotificationEnabled(), QAbstractSocket::ShareAddress, QAbstractSocketEngine::socketDescriptor(), socketEngine, socketType, state, QAbstractSocket::UdpSocket, and QAbstractSocket::UnknownNetworkLayerProtocol.
void QAbstractSocketPrivate::canCloseNotification | ( | ) |
Slot connected to the close socket notifier. It's called when the socket is closed.
Definition at line 672 of file qabstractsocket.cpp.
References emitReadyRead(), QMetaObject::invokeMethod(), isBuffered, qDebug, Qt::QueuedConnection, readBufferMaxSize, readFromSocket(), QAbstractSocket::SctpSocket, socketEngine, socketType, and QAbstractSocket::TcpSocket.
Referenced by closeNotification().
|
virtual |
Slot connected to the read socket notifier. This slot is called when new data is available for reading, or when the socket has been closed. Handles recursive calls.
Reimplemented in QSctpSocketPrivate.
Definition at line 604 of file qabstractsocket.cpp.
References QAbstractSocket::ClosingState, emitReadyRead(), hasPendingData, hasPendingDatagram, QAbstractSocketEngine::hasPendingDatagrams(), isBuffered, qDebug, QT_CONFIG, readBufferMaxSize, readFromSocket(), QAbstractSocketEngine::setReadNotificationEnabled(), socketEngine, socketType, state, QAbstractSocket::UdpSocket, and QAbstractSocket::UnconnectedState.
Referenced by QSctpSocketPrivate::canReadNotification(), and readNotification().
bool QAbstractSocketPrivate::canWriteNotification | ( | ) |
Slot connected to the write socket notifier. It's called during a delayed connect or when the socket is ready for writing.
Definition at line 716 of file qabstractsocket.cpp.
References qDebug, and writeToSocket().
Referenced by writeNotification().
|
inlineoverridevirtual |
Implements QAbstractSocketEngineReceiver.
Definition at line 42 of file qabstractsocket_p.h.
References canCloseNotification().
|
virtual |
Reimplemented in QSctpSocketPrivate.
Definition at line 588 of file qabstractsocket.cpp.
References QAbstractSocketEngine::MaxStreamsSocketOption, QAbstractSocket::SctpSocket, QAbstractSocketEngine::setOption(), socketEngine, and QAbstractSocketEngine::socketType().
Referenced by initSocketLayer().
|
overridevirtual |
Slot connected to a notification of connection status change. Either we finished connecting or we failed to connect.
Implements QAbstractSocketEngineReceiver.
Definition at line 730 of file qabstractsocket.cpp.
References _q_testConnection(), QAbstractSocket::ConnectingState, qDebug, and state.
Emits bytesWritten(), protecting against recursion.
Definition at line 1231 of file qabstractsocket.cpp.
References channel, QIODevicePrivate::currentWriteChannel, emit, and emittedBytesWritten.
Referenced by writeToSocket(), and QSctpSocketPrivate::writeToSocket().
void QAbstractSocketPrivate::emitReadyRead | ( | int | channel = 0 | ) |
Emits readyRead(), protecting against recursion.
Definition at line 1214 of file qabstractsocket.cpp.
References channel, QIODevicePrivate::currentReadChannel, emit, and emittedReadyRead.
Referenced by canCloseNotification(), canReadNotification(), and QSctpSocketPrivate::canReadNotification().
|
inlineoverridevirtual |
Implements QAbstractSocketEngineReceiver.
Definition at line 41 of file qabstractsocket_p.h.
void QAbstractSocketPrivate::fetchConnectionParameters | ( | ) |
Sets up the internal state after the connection has succeeded.
Definition at line 1248 of file qabstractsocket.cpp.
References cachedSocketDescriptor, QAbstractSocket::ConnectedState, QByteArray::constData(), emit, host, hostName, QAbstractSocketEngine::inboundStreamCount(), localAddress, QAbstractSocketEngine::localAddress(), localPort, QAbstractSocketEngine::localPort(), QAbstractSocketEngine::outboundStreamCount(), peerAddress, QAbstractSocketEngine::peerAddress(), peerName, peerPort, QAbstractSocketEngine::peerPort(), qDebug, qMax(), QIODevicePrivate::readChannelCount, QIODevicePrivate::setReadChannelCount(), QAbstractSocketEngine::setReadNotificationEnabled(), QIODevicePrivate::setWriteChannelCount(), QAbstractSocketEngine::setWriteNotificationEnabled(), QAbstractSocketEngine::socketDescriptor(), socketEngine, state, QString::toLatin1(), QHostAddress::toString(), and QIODevicePrivate::writeChannelCount.
Referenced by _q_connectToNextAddress(), _q_testConnection(), and startConnectingByName().
|
virtual |
Writes pending data in the write buffers to the socket. The function writes as much as it can without blocking. If any data was written, this function returns true; otherwise false is returned.
Reimplemented in QSslSocketPrivate.
Definition at line 815 of file qabstractsocket.cpp.
References QIODevicePrivate::allWriteBuffersEmpty(), and writeToSocket().
|
static |
Definition at line 1353 of file qabstractsocket.cpp.
References socket.
bool QAbstractSocketPrivate::initSocketLayer | ( | QAbstractSocket::NetworkLayerProtocol | protocol | ) |
Initializes the socket layer to by of type type, using the network layer protocol protocol. Resets the socket layer first if it's already initialized. Sets up the socket notifiers.
Definition at line 537 of file qabstractsocket.cpp.
References configureCreatedSocket(), QByteArray::constData(), QAbstractSocketEngine::createSocketEngine(), QAbstractSocketEngine::error(), QAbstractSocketEngine::errorString(), QAbstractSocketEngine::initialize(), QAbstractSocket::IPv4Protocol, QAbstractSocket::IPv6Protocol, QBasicAtomicPointer< X >::loadRelaxed(), proxyInUse, qDebug, resetSocketLayer(), QAbstractSocket::SctpSocket, setError(), QAbstractSocketEngine::setReceiver(), socketEngine, QAbstractSocket::TcpSocket, QObjectPrivate::threadData, QString::toLatin1(), typeStr(), QAbstractSocket::UdpSocket, and QAbstractSocket::UnsupportedSocketOperationError.
Referenced by _q_connectToNextAddress(), bind(), and startConnectingByName().
|
static |
Definition at line 1303 of file qabstractsocket.cpp.
References QAbstractSocketEngine::isExceptionNotificationEnabled(), QAbstractSocketEngine::isReadNotificationEnabled(), QAbstractSocketEngine::isWriteNotificationEnabled(), qDebug, QIODevicePrivate::read(), QAbstractSocketEngine::setExceptionNotificationEnabled(), QAbstractSocketEngine::setReadNotificationEnabled(), QAbstractSocketEngine::setWriteNotificationEnabled(), socket, QAbstractSocketEngine::socketDescriptor(), socketEngine, and QIODevicePrivate::write().
Referenced by QHttpNetworkConnectionPrivate::pauseConnection(), and QSslSocketPrivate::pauseSocketNotifiers().
|
inlineoverridevirtual |
Implements QAbstractSocketEngineReceiver.
Definition at line 45 of file qabstractsocket_p.h.
Referenced by QSslSocketPrivate::createPlainSocket().
bool QAbstractSocketPrivate::readFromSocket | ( | ) |
Reads data from the socket layer into the read buffer. Returns true on success; otherwise false.
Definition at line 1148 of file qabstractsocket.cpp.
References QAbstractSocketEngine::bytesAvailable(), QByteArray::constData(), QAbstractSocketEngine::error(), QAbstractSocketEngine::errorString(), QAbstractSocketEngine::isValid(), ptr(), qDebug, QAbstractSocketEngine::read(), readBufferMaxSize, resetSocketLayer(), setErrorAndEmit(), socketEngine, and QString::toLatin1().
Referenced by canCloseNotification(), and canReadNotification().
|
inlineoverridevirtual |
Implements QAbstractSocketEngineReceiver.
Definition at line 39 of file qabstractsocket_p.h.
References canReadNotification().
void QAbstractSocketPrivate::resetSocketLayer | ( | ) |
Resets the socket layer and deletes any socket notifiers.
Definition at line 513 of file qabstractsocket.cpp.
References cachedSocketDescriptor, QAbstractSocketEngine::close(), connectTimer, QObject::disconnect(), hasPendingData, qDebug, socketEngine, and QTimer::stop().
Referenced by initSocketLayer(), and readFromSocket().
Resolve the proxy to its final value.
Definition at line 830 of file qabstractsocket.cpp.
References QNetworkProxy::DefaultProxy, protocolTag, proxy, QNetworkProxyFactory::proxyForQuery(), proxyInUse, QNetworkProxyQuery::SctpSocket, QAbstractSocket::SctpSocket, QNetworkProxy::SctpTunnelingCapability, socketType, QNetworkProxyQuery::TcpSocket, QAbstractSocket::TcpSocket, QNetworkProxy::TunnelingCapability, QNetworkProxy::type(), QNetworkProxyQuery::UdpSocket, QAbstractSocket::UdpSocket, and QNetworkProxy::UdpTunnelingCapability.
Referenced by bind().
Definition at line 93 of file qabstractsocket_p.h.
References resolveProxy().
Referenced by resolveProxy().
|
static |
Definition at line 1333 of file qabstractsocket.cpp.
References priv(), qDebug, QAbstractSocketEngine::setExceptionNotificationEnabled(), QAbstractSocketEngine::setReadNotificationEnabled(), QAbstractSocketEngine::setWriteNotificationEnabled(), socket, QAbstractSocketEngine::socketDescriptor(), and socketEngine.
Referenced by QAbstractSocket::resume(), QHttpNetworkConnectionPrivate::resumeConnection(), and QSslSocketPrivate::resumeSocketNotifiers().
void QAbstractSocketPrivate::setError | ( | QAbstractSocket::SocketError | errorCode, |
const QString & | errStr ) |
Sets the socket error state to errorCode
and errorString.
Definition at line 1363 of file qabstractsocket.cpp.
References QIODevicePrivate::errorString, and socketError.
Referenced by _q_abortConnectionAttempt(), _q_connectToNextAddress(), _q_startConnecting(), initSocketLayer(), setErrorAndEmit(), and startConnectingByName().
void QAbstractSocketPrivate::setErrorAndEmit | ( | QAbstractSocket::SocketError | errorCode, |
const QString & | errorString ) |
Sets the socket error state to errorCode
and errorString, and emits the QAbstractSocket::errorOccurred() signal.
Definition at line 1376 of file qabstractsocket.cpp.
References emit, QIODevicePrivate::errorString, and setError().
Referenced by QSslSocketPrivate::_q_errorSlot(), QSslSocketPrivate::_q_resumeImplementation(), bind(), QSctpSocketPrivate::canReadNotification(), readFromSocket(), QSslSocketPrivate::verifyProtocolSupported(), writeToSocket(), and QSctpSocketPrivate::writeToSocket().
Starts the connection to host, like _q_startConnecting below, but without hostname resolution.
Definition at line 879 of file qabstractsocket.cpp.
References cachedSocketDescriptor, QAbstractSocket::ConnectedState, QAbstractSocket::ConnectingState, QAbstractSocketEngine::connectToHostByName(), emit, QAbstractSocketEngine::error(), QAbstractSocketEngine::errorString(), fetchConnectionParameters(), host, initSocketLayer(), qDebug, qPrintable, setError(), socketEngine, socketError, state, QAbstractSocketEngine::state(), QAbstractSocket::UnconnectedState, and QAbstractSocket::UnknownNetworkLayerProtocol.
|
inlineoverridevirtual |
Implements QAbstractSocketEngineReceiver.
Definition at line 40 of file qabstractsocket_p.h.
References canWriteNotification().
|
virtual |
Writes one pending data block in the write buffer to the socket.
It is usually invoked by canWriteNotification after one or more calls to write().
Emits bytesWritten().
Reimplemented in QSctpSocketPrivate.
Definition at line 751 of file qabstractsocket.cpp.
References QAbstractSocketEngine::bytesToWrite(), QAbstractSocket::ClosingState, emitBytesWritten(), QAbstractSocketEngine::error(), QAbstractSocketEngine::errorString(), QAbstractSocketEngine::isValid(), ptr(), Q_INT64_C, qDebug, setErrorAndEmit(), QAbstractSocketEngine::setWriteNotificationEnabled(), socketEngine, state, and QAbstractSocketEngine::write().
Referenced by canWriteNotification(), flush(), and QSctpSocketPrivate::writeToSocket().
bool QAbstractSocketPrivate::abortCalled = false |
Definition at line 66 of file qabstractsocket_p.h.
Referenced by QSslSocketPrivate::init().
QList<QHostAddress> QAbstractSocketPrivate::addresses |
Definition at line 74 of file qabstractsocket_p.h.
Referenced by _q_abortConnectionAttempt(), _q_connectToNextAddress(), _q_startConnecting(), and _q_testConnection().
qintptr QAbstractSocketPrivate::cachedSocketDescriptor = -1 |
Definition at line 83 of file qabstractsocket_p.h.
Referenced by QSslSocketPrivate::_q_connectedSlot(), _q_connectToNextAddress(), QSslSocketPrivate::_q_disconnectedSlot(), bind(), QSslSocketPrivate::bind(), fetchConnectionParameters(), resetSocketLayer(), and startConnectingByName().
Definition at line 115 of file qabstractsocket_p.h.
Referenced by _q_abortConnectionAttempt(), _q_connectToNextAddress(), _q_testConnection(), and resetSocketLayer().
bool QAbstractSocketPrivate::emittedBytesWritten = false |
Definition at line 64 of file qabstractsocket_p.h.
Referenced by emitBytesWritten(), and QSslSocketPrivate::tlsEmittedBytesWritten().
bool QAbstractSocketPrivate::emittedReadyRead = false |
Definition at line 63 of file qabstractsocket_p.h.
Referenced by emitReadyRead().
bool QAbstractSocketPrivate::hasPendingData = false |
Definition at line 112 of file qabstractsocket_p.h.
Referenced by canReadNotification(), and resetSocketLayer().
bool QAbstractSocketPrivate::hasPendingDatagram = false |
Definition at line 113 of file qabstractsocket_p.h.
Referenced by canReadNotification().
QHostAddress QAbstractSocketPrivate::host |
Definition at line 73 of file qabstractsocket_p.h.
Referenced by _q_connectToNextAddress(), fetchConnectionParameters(), and startConnectingByName().
int QAbstractSocketPrivate::hostLookupId = -1 |
Definition at line 117 of file qabstractsocket_p.h.
Referenced by _q_startConnecting().
QString QAbstractSocketPrivate::hostName |
Definition at line 71 of file qabstractsocket_p.h.
Referenced by fetchConnectionParameters(), and QSslSocketPrivate::tlsHostName().
bool QAbstractSocketPrivate::isBuffered = false |
Definition at line 111 of file qabstractsocket_p.h.
Referenced by canCloseNotification(), and canReadNotification().
QHostAddress QAbstractSocketPrivate::localAddress |
Definition at line 78 of file qabstractsocket_p.h.
Referenced by bind(), QSslSocketPrivate::bind(), and fetchConnectionParameters().
quint16 QAbstractSocketPrivate::localPort = 0 |
Definition at line 76 of file qabstractsocket_p.h.
Referenced by bind(), QSslSocketPrivate::bind(), and fetchConnectionParameters().
QAbstractSocket::PauseModes QAbstractSocketPrivate::pauseMode = QAbstractSocket::PauseNever |
Definition at line 69 of file qabstractsocket_p.h.
QHostAddress QAbstractSocketPrivate::peerAddress |
Definition at line 79 of file qabstractsocket_p.h.
Referenced by fetchConnectionParameters().
QString QAbstractSocketPrivate::peerName |
Definition at line 80 of file qabstractsocket_p.h.
Referenced by fetchConnectionParameters(), and QSslSocketPrivate::isMatchingHostname().
quint16 QAbstractSocketPrivate::peerPort = 0 |
Definition at line 77 of file qabstractsocket_p.h.
Referenced by fetchConnectionParameters().
bool QAbstractSocketPrivate::pendingClose = false |
Definition at line 67 of file qabstractsocket_p.h.
Referenced by QSslSocketPrivate::_q_connectedSlot(), _q_testConnection(), QSslSocketPrivate::init(), QSslSocketPrivate::isPendingClose(), and QSslSocketPrivate::setPendingClose().
quint16 QAbstractSocketPrivate::port = 0 |
Definition at line 72 of file qabstractsocket_p.h.
QAbstractSocket::NetworkLayerProtocol QAbstractSocketPrivate::preferredNetworkLayerProtocol |
Definition at line 125 of file qabstractsocket_p.h.
Referenced by _q_startConnecting().
bool QAbstractSocketPrivate::prePauseExceptionSocketNotifierState = false |
Definition at line 130 of file qabstractsocket_p.h.
bool QAbstractSocketPrivate::prePauseReadSocketNotifierState = false |
Definition at line 128 of file qabstractsocket_p.h.
bool QAbstractSocketPrivate::prePauseWriteSocketNotifierState = false |
Definition at line 129 of file qabstractsocket_p.h.
QString QAbstractSocketPrivate::protocolTag |
Definition at line 88 of file qabstractsocket_p.h.
Referenced by resolveProxy().
QNetworkProxy QAbstractSocketPrivate::proxy |
Definition at line 86 of file qabstractsocket_p.h.
Referenced by proxyAuthenticationRequired(), and resolveProxy().
QNetworkProxy QAbstractSocketPrivate::proxyInUse |
Definition at line 87 of file qabstractsocket_p.h.
Referenced by initSocketLayer(), and resolveProxy().
qint64 QAbstractSocketPrivate::readBufferMaxSize = 0 |
Definition at line 110 of file qabstractsocket_p.h.
Referenced by QSslSocketPrivate::_q_errorSlot(), canCloseNotification(), canReadNotification(), QSslSocketPrivate::createPlainSocket(), QSslSocketPrivate::maxReadBufferSize(), readFromSocket(), and QSslSocketPrivate::setMaxReadBufferSize().
QAbstractSocketEngine* QAbstractSocketPrivate::socketEngine = nullptr |
Definition at line 82 of file qabstractsocket_p.h.
Referenced by _q_abortConnectionAttempt(), _q_connectToNextAddress(), _q_testConnection(), bind(), canCloseNotification(), canReadNotification(), QSctpSocketPrivate::canReadNotification(), configureCreatedSocket(), QSctpSocketPrivate::configureCreatedSocket(), fetchConnectionParameters(), initSocketLayer(), pauseSocketNotifiers(), readFromSocket(), resetSocketLayer(), resumeSocketNotifiers(), startConnectingByName(), writeToSocket(), and QSctpSocketPrivate::writeToSocket().
QAbstractSocket::SocketError QAbstractSocketPrivate::socketError = QAbstractSocket::UnknownSocketError |
Definition at line 123 of file qabstractsocket_p.h.
Referenced by _q_abortConnectionAttempt(), _q_connectToNextAddress(), setError(), and startConnectingByName().
QAbstractSocket::SocketType QAbstractSocketPrivate::socketType = QAbstractSocket::UnknownSocketType |
Definition at line 119 of file qabstractsocket_p.h.
Referenced by bind(), canCloseNotification(), canReadNotification(), and resolveProxy().
QAbstractSocket::SocketState QAbstractSocketPrivate::state = QAbstractSocket::UnconnectedState |
Definition at line 120 of file qabstractsocket_p.h.
Referenced by _q_abortConnectionAttempt(), QSslSocketPrivate::_q_bytesWrittenSlot(), _q_connectToNextAddress(), _q_startConnecting(), QSslSocketPrivate::_q_stateChangedSlot(), bind(), canReadNotification(), QSctpSocketPrivate::canReadNotification(), connectionNotification(), fetchConnectionParameters(), startConnectingByName(), writeToSocket(), and QSctpSocketPrivate::writeToSocket().