![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qnativesocketengine_p_p.h>
Additional Inherited Members | |
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) |
Definition at line 72 of file qnativesocketengine_p_p.h.
Definition at line 87 of file qnativesocketengine_p_p.h.
QNativeSocketEnginePrivate::QNativeSocketEnginePrivate | ( | ) |
Constructs the private class and initializes all data members.
Definition at line 164 of file qnativesocketengine.cpp.
References exceptNotifier, readNotifier, and writeNotifier.
QNativeSocketEnginePrivate::~QNativeSocketEnginePrivate | ( | ) |
Destructs the private class.
Definition at line 178 of file qnativesocketengine.cpp.
QHostAddress QNativeSocketEnginePrivate::adjustAddressProtocol | ( | const QHostAddress & | address | ) | const |
Adjusts the incoming address family to match the currently bound address (if any). This function will convert v4-mapped IPv6 addresses to IPv4 and vice-versa. All other address types and values will be left unchanged.
Definition at line 304 of file qnativesocketengine.cpp.
bool QNativeSocketEnginePrivate::checkProxy | ( | const QHostAddress & | address | ) |
Definition at line 329 of file qnativesocketengine.cpp.
bool QNativeSocketEnginePrivate::createNewSocket | ( | QAbstractSocket::SocketType | socketType, |
QAbstractSocket::NetworkLayerProtocol & | socketProtocol ) |
Creates and returns a new socket descriptor of type socketType and socketProtocol. Returns -1 on failure.
Definition at line 185 of file qnativesocketengine_unix.cpp.
bool QNativeSocketEnginePrivate::fetchConnectionParameters | ( | ) |
Fetches information about both ends of the connection: whatever is available.
Definition at line 1179 of file qnativesocketengine_unix.cpp.
qintptr QNativeSocketEnginePrivate::nativeAccept | ( | ) |
Definition at line 597 of file qnativesocketengine_unix.cpp.
bool QNativeSocketEnginePrivate::nativeBind | ( | const QHostAddress & | address, |
quint16 | port ) |
Definition at line 504 of file qnativesocketengine_unix.cpp.
qint64 QNativeSocketEnginePrivate::nativeBytesAvailable | ( | ) | const |
Definition at line 809 of file qnativesocketengine_unix.cpp.
void QNativeSocketEnginePrivate::nativeClose | ( | ) |
Definition at line 1308 of file qnativesocketengine_unix.cpp.
bool QNativeSocketEnginePrivate::nativeConnect | ( | const QHostAddress & | address, |
quint16 | port ) |
Definition at line 422 of file qnativesocketengine_unix.cpp.
bool QNativeSocketEnginePrivate::nativeHasPendingDatagrams | ( | ) | const |
Definition at line 832 of file qnativesocketengine_unix.cpp.
bool QNativeSocketEnginePrivate::nativeJoinMulticastGroup | ( | const QHostAddress & | groupAddress, |
const QNetworkInterface & | iface ) |
Definition at line 726 of file qnativesocketengine_unix.cpp.
bool QNativeSocketEnginePrivate::nativeLeaveMulticastGroup | ( | const QHostAddress & | groupAddress, |
const QNetworkInterface & | iface ) |
Definition at line 736 of file qnativesocketengine_unix.cpp.
bool QNativeSocketEnginePrivate::nativeListen | ( | int | backlog | ) |
Definition at line 567 of file qnativesocketengine_unix.cpp.
QNetworkInterface QNativeSocketEnginePrivate::nativeMulticastInterface | ( | ) | const |
Definition at line 746 of file qnativesocketengine_unix.cpp.
qint64 QNativeSocketEnginePrivate::nativePendingDatagramSize | ( | ) | const |
Definition at line 850 of file qnativesocketengine_unix.cpp.
Definition at line 1355 of file qnativesocketengine_unix.cpp.
qint64 QNativeSocketEnginePrivate::nativeReceiveDatagram | ( | char * | data, |
qint64 | maxLength, | ||
QIpPacketHeader * | header, | ||
QAbstractSocketEngine::PacketHeaderOptions | options ) |
Definition at line 916 of file qnativesocketengine_unix.cpp.
int QNativeSocketEnginePrivate::nativeSelect | ( | QDeadlineTimer | deadline, |
bool | checkRead, | ||
bool | checkWrite, | ||
bool * | selectForRead, | ||
bool * | selectForWrite ) const |
Definition at line 1412 of file qnativesocketengine_unix.cpp.
int QNativeSocketEnginePrivate::nativeSelect | ( | QDeadlineTimer | deadline, |
bool | selectForRead ) const |
Definition at line 1404 of file qnativesocketengine_unix.cpp.
qint64 QNativeSocketEnginePrivate::nativeSendDatagram | ( | const char * | data, |
qint64 | length, | ||
const QIpPacketHeader & | header ) |
Definition at line 1052 of file qnativesocketengine_unix.cpp.
bool QNativeSocketEnginePrivate::nativeSetMulticastInterface | ( | const QNetworkInterface & | iface | ) |
Definition at line 780 of file qnativesocketengine_unix.cpp.
Definition at line 1317 of file qnativesocketengine_unix.cpp.
int QNativeSocketEnginePrivate::option | ( | QNativeSocketEngine::SocketOption | opt | ) | const |
Returns the value of the socket option opt.
Definition at line 271 of file qnativesocketengine_unix.cpp.
void QNativeSocketEnginePrivate::setError | ( | QAbstractSocket::SocketError | error, |
ErrorString | errorString ) const |
Sets the error and error string if not set already. The only interesting error is the first one that occurred, and not the last one.
Definition at line 188 of file qnativesocketengine.cpp.
bool QNativeSocketEnginePrivate::setOption | ( | QNativeSocketEngine::SocketOption | opt, |
int | v ) |
Sets the socket option opt to v.
Definition at line 327 of file qnativesocketengine_unix.cpp.
|
inline |
Sets address and port in the aa sockaddr structure and the size in sockAddrSize. The address is converted to IPv6 if the current socket protocol is also IPv6.
Definition at line 163 of file qnativesocketengine_p_p.h.
QSocketNotifier * QNativeSocketEnginePrivate::exceptNotifier |
Definition at line 81 of file qnativesocketengine_p_p.h.
Referenced by QNativeSocketEnginePrivate().
QSocketNotifier* QNativeSocketEnginePrivate::readNotifier |
Definition at line 81 of file qnativesocketengine_p_p.h.
Referenced by QNativeSocketEnginePrivate().
qintptr QNativeSocketEnginePrivate::socketDescriptor |
Definition at line 79 of file qnativesocketengine_p_p.h.
QSocketNotifier * QNativeSocketEnginePrivate::writeNotifier |
Definition at line 81 of file qnativesocketengine_p_p.h.
Referenced by QNativeSocketEnginePrivate().