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
QUdpSocketPrivate Class Reference
Inheritance diagram for QUdpSocketPrivate:
Collaboration diagram for QUdpSocketPrivate:

Public Member Functions

bool ensureInitialized (const QHostAddress &bindAddress, quint16 bindPort)
bool ensureInitialized (const QHostAddress &remoteAddress)
bool ensureInitialized (const QHostAddress &bindAddress, quint16 bindPort)
bool ensureInitialized (const QHostAddress &remoteAddress)
Public Member Functions inherited from QAbstractSocketPrivate
 QAbstractSocketPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QAbstractSocketPrivate ()
void readNotification () override
void writeNotification () override
void exceptionNotification () override
void closeNotification () override
void connectionNotification () override
void proxyAuthenticationRequired (const QNetworkProxy &proxy, QAuthenticator *authenticator) override
virtual bool bind (const QHostAddress &address, quint16 port, QAbstractSocket::BindMode mode, const QNetworkInterface *iface=nullptr)
virtual bool canReadNotification ()
bool canWriteNotification ()
void canCloseNotification ()
void _q_connectToNextAddress ()
void _q_startConnecting (const QHostInfo &hostInfo)
void _q_testConnection ()
void _q_abortConnectionAttempt ()
void resolveProxy (const QString &hostName, quint16 port)
void resolveProxy (quint16 port)
void resetSocketLayer ()
virtual bool flush ()
bool initSocketLayer (QAbstractSocket::NetworkLayerProtocol protocol)
virtual void configureCreatedSocket ()
void startConnectingByName (const QString &host)
void fetchConnectionParameters ()
bool readFromSocket ()
virtual bool writeToSocket ()
void emitReadyRead (int channel=0)
void emitBytesWritten (qint64 bytes, int channel=0)
void setError (QAbstractSocket::SocketError errorCode, const QString &errorString)
void setErrorAndEmit (QAbstractSocket::SocketError errorCode, const QString &errorString)
Public Member Functions inherited from QIODevicePrivate
 QIODevicePrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QIODevicePrivate ()
virtual bool putCharHelper (char c)
bool isSequential () const
bool isBufferEmpty () const
bool allWriteBuffersEmpty () const
void seekBuffer (qint64 newPos)
void setCurrentReadChannel (int channel)
void setCurrentWriteChannel (int channel)
void setReadChannelCount (int count)
void setWriteChannelCount (int count)
qint64 read (char *data, qint64 maxSize, bool peeking=false)
qint64 readLine (char *data, qint64 maxSize, ReadLineOption option=ReadLineOption::NullTerminated)
virtual qint64 peek (char *data, qint64 maxSize)
virtual QByteArray peek (qint64 maxSize)
qint64 skipByReading (qint64 maxSize)
qint64 skipLine ()
void write (const char *data, qint64 size)
bool isWriteChunkCached (const char *data, qint64 size) const
Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
void setObjectNameWithoutBindings (const QString &name)
 QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QObjectPrivate ()
void deleteChildren ()
void clearBindingStorage ()
void setParent_helper (QObject *)
void moveToThread_helper ()
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
QObjectList receiverList (const char *signal) const
void ensureConnectionData ()
void addConnection (int signal, Connection *c)
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
bool maybeSignalConnected (uint signalIndex) const
bool isDeclarativeSignalConnected (uint signalIdx) const
void connectNotify (const QMetaMethod &signal)
void disconnectNotify (const QMetaMethod &signal)
void reinitBindingStorageAfterThreadMove ()
virtual std::string flagsForDumping () const
virtual void writeToDebugStream (QDebug &) const
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
Public Member Functions inherited from QObjectData
 QObjectData ()=default
virtual ~QObjectData ()=0
const QMetaObjectdynamicMetaObject () const
Public Member Functions inherited from QAbstractSocketEngineReceiver
virtual ~QAbstractSocketEngineReceiver ()

Additional Inherited Members

Public Types inherited from QIODevicePrivate
enum class  ReadLineOption { NotNullTerminated , NullTerminated }
enum  AccessMode : quint8 { Unset , Sequential , RandomAccess }
Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
Static Public Member Functions inherited from QAbstractSocketPrivate
static void pauseSocketNotifiers (QAbstractSocket *)
static void resumeSocketNotifiers (QAbstractSocket *)
static QAbstractSocketEnginegetSocketEngine (QAbstractSocket *)
Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
static QObjectPrivateget (QObject *o)
static const QObjectPrivateget (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)
Public Attributes inherited from QAbstractSocketPrivate
bool emittedReadyRead = false
bool emittedBytesWritten = false
bool abortCalled = false
bool pendingClose = false
QAbstractSocket::PauseModes pauseMode = QAbstractSocket::PauseNever
QString hostName
quint16 port = 0
QHostAddress host
QList< QHostAddressaddresses
quint16 localPort = 0
quint16 peerPort = 0
QHostAddress localAddress
QHostAddress peerAddress
QString peerName
QAbstractSocketEnginesocketEngine = nullptr
qintptr cachedSocketDescriptor = -1
QNetworkProxy proxy
QNetworkProxy proxyInUse
QString protocolTag
qint64 readBufferMaxSize = 0
bool isBuffered = false
bool hasPendingData = false
bool hasPendingDatagram = false
QTimerconnectTimer = nullptr
int hostLookupId = -1
QAbstractSocket::SocketType socketType = QAbstractSocket::UnknownSocketType
QAbstractSocket::SocketState state = QAbstractSocket::UnconnectedState
QAbstractSocket::SocketError socketError = QAbstractSocket::UnknownSocketError
QAbstractSocket::NetworkLayerProtocol preferredNetworkLayerProtocol
bool prePauseReadSocketNotifierState = false
bool prePauseWriteSocketNotifierState = false
bool prePauseExceptionSocketNotifierState = false
Public Attributes inherited from QIODevicePrivate
qint64 pos = 0
qint64 devicePos = 0
qint64 transactionPos = 0
QRingBufferRef buffer
QRingBufferRef writeBuffer
const QByteArraycurrentWriteChunk = nullptr
int readChannelCount = 0
int writeChannelCount = 0
int currentReadChannel = 0
int currentWriteChannel = 0
int readBufferChunkSize = QIODEVICE_BUFFERSIZE
int writeBufferChunkSize = 0
QVarLengthArray< QRingBuffer, 2 > readBuffers
QVarLengthArray< QRingBuffer, 1 > writeBuffers
QString errorString
QIODevice::OpenMode openMode = QIODevice::NotOpen
bool transactionStarted = false
bool baseReadLineDataCalled = false
AccessMode accessMode = Unset
Public Attributes inherited from QObjectPrivate
ExtraDataextraData
QAtomicPointer< QThreadDatathreadData
QAtomicPointer< ConnectionDataconnections
union { 
   QObject *   currentChildBeingDeleted 
   QAbstractDeclarativeData *   declarativeData 
}; 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
Public Attributes inherited from QObjectData
QObjectq_ptr
QObjectparent
QObjectList children
uint isWidget: 1
uint blockSig: 1
uint wasDeleted: 1
uint isDeletingChildren: 1
uint sendChildEvents: 1
uint receiveChildEvents: 1
uint isWindow: 1
uint deleteLaterCalled: 1
uint isQuickItem: 1
uint willBeWidget: 1
uint wasWidget: 1
uint receiveParentEvents: 1
uint unused: 20
QAtomicInt postedEvents
QDynamicMetaObjectDatametaObject
QBindingStorage bindingStorage

Detailed Description

Definition at line 81 of file qudpsocket.cpp.

Member Function Documentation

◆ ensureInitialized() [1/4]

bool QUdpSocketPrivate::ensureInitialized ( const QHostAddress & bindAddress,
quint16 bindPort )
inline

Definition at line 88 of file qudpsocket.cpp.

◆ ensureInitialized() [2/4]

bool QUdpSocketPrivate::ensureInitialized ( const QHostAddress & bindAddress,
quint16 bindPort )
inline

Definition at line 88 of file qudpsocket.cpp.

◆ ensureInitialized() [3/4]

bool QUdpSocketPrivate::ensureInitialized ( const QHostAddress & remoteAddress)
inline

Definition at line 91 of file qudpsocket.cpp.

◆ ensureInitialized() [4/4]

bool QUdpSocketPrivate::ensureInitialized ( const QHostAddress & remoteAddress)
inline

Definition at line 91 of file qudpsocket.cpp.


The documentation for this class was generated from the following file: