34 #ifndef _QORE_CLASS_SOCKET_H 36 #define _QORE_CLASS_SOCKET_H 42 #include <qore/QoreSocket.h> 43 #include <qore/AbstractPrivateData.h> 44 #include <qore/QoreThreadLock.h> 45 #include <qore/QoreSocketObject.h> 46 #include "qore/intern/QC_SSLCertificate.h" 47 #include "qore/intern/QC_SSLPrivateKey.h" 49 class my_socket_priv {
59 DLLLOCAL my_socket_priv() : socket(new
QoreSocket), cert(nullptr), pk(nullptr) {
62 DLLLOCAL ~my_socket_priv() {
76 DLLLOCAL
static void setAccept(QoreSocketObject& sock,
QoreObject* o) {
77 sock.priv->setAccept(o);
81 #endif // _QORE_CLASS_QORESOCKET_H represents an X509 certificate, reference-counted, dynamically-allocated only
Definition: QoreSSLCertificate.h:42
DLLLOCAL void setAccept(QoreObject *o)
sets backwards-compatible members on accept in a new object - will be removed in a future version of ...
virtual DLLLOCAL void deref(ExceptionSink *xsink)
decrements the reference count of the object
Definition: AbstractPrivateData.h:61
contains constants, classes, and subnamespaces in QoreProgram objects
Definition: QoreNamespace.h:64
provides access to a private key data structure for SSL connections
Definition: QoreSSLPrivateKey.h:40
defines a Qore-language class
Definition: QoreClass.h:239
provides access to sockets using Qore data structures
Definition: QoreSocket.h:126
the implementation of Qore's object data type, reference counted, dynamically-allocated only ...
Definition: QoreObject.h:61
unsigned qore_classid_t
used for the unique class ID for QoreClass objects
Definition: common.h:79
provides a mutually-exclusive thread lock
Definition: QoreThreadLock.h:47