Qt 4.8
Protected Functions | Friends | List of all members
QSocketEngineHandler Class Referenceabstract

#include <qabstractsocketengine_p.h>

Inheritance diagram for QSocketEngineHandler:
QHttpSocketEngineHandler QSocks5SocketEngineHandler

Protected Functions

virtual QAbstractSocketEnginecreateSocketEngine (QAbstractSocket::SocketType socketType, const QNetworkProxy &, QObject *parent)=0
 
virtual QAbstractSocketEnginecreateSocketEngine (int socketDescripter, QObject *parent)=0
 
 QSocketEngineHandler ()
 
virtual ~QSocketEngineHandler ()
 

Friends

class QAbstractSocketEngine
 

Detailed Description

Definition at line 220 of file qabstractsocketengine_p.h.

Constructors and Destructors

◆ QSocketEngineHandler()

QSocketEngineHandler::QSocketEngineHandler ( )
protected

Definition at line 63 of file qabstractsocketengine.cpp.

64 {
65  if (!socketHandlers())
66  return;
67  QMutexLocker locker(&socketHandlers()->mutex);
68  socketHandlers()->prepend(this);
69 }
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
Definition: qmutex.h:101

◆ ~QSocketEngineHandler()

QSocketEngineHandler::~QSocketEngineHandler ( )
protectedvirtual

Definition at line 71 of file qabstractsocketengine.cpp.

72 {
73  if (!socketHandlers())
74  return;
75  QMutexLocker locker(&socketHandlers()->mutex);
76  socketHandlers()->removeAll(this);
77 }
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
Definition: qmutex.h:101

Functions

◆ createSocketEngine() [1/2]

virtual QAbstractSocketEngine* QSocketEngineHandler::createSocketEngine ( QAbstractSocket::SocketType  socketType,
const QNetworkProxy ,
QObject parent 
)
protectedpure virtual

◆ createSocketEngine() [2/2]

virtual QAbstractSocketEngine* QSocketEngineHandler::createSocketEngine ( int  socketDescripter,
QObject parent 
)
protectedpure virtual

Friends and Related Functions

◆ QAbstractSocketEngine

Definition at line 230 of file qabstractsocketengine_p.h.


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