|
Qore Programming Language
0.9.16
|
34 #ifndef _QORE_CLASS_SOCKET_H
36 #define _QORE_CLASS_SOCKET_H
44 #include <qore/QoreSocket.h>
45 #include <qore/AbstractPrivateData.h>
46 #include <qore/QoreThreadLock.h>
47 #include <qore/QoreSocketObject.h>
48 #include "qore/intern/QC_SSLCertificate.h"
49 #include "qore/intern/QC_SSLPrivateKey.h"
51 class my_socket_priv {
59 : socket(s), cert(c), pk(p) {
62 DLLLOCAL my_socket_priv() : socket(new
QoreSocket) {
65 DLLLOCAL ~my_socket_priv() {
79 DLLLOCAL
static void setAccept(QoreSocketObject& sock,
QoreObject* o) {
80 sock.priv->setAccept(o);
84 #endif // _QORE_CLASS_QORESOCKET_H
DLLLOCAL void setAccept(QoreObject *o)
sets backwards-compatible members on accept in a new object - will be removed in a future version of ...
defines a Qore-language class
Definition: QoreClass.h:239
provides access to sockets using Qore data structures
Definition: QoreSocket.h:126
contains constants, classes, and subnamespaces in QoreProgram objects
Definition: QoreNamespace.h:65
represents an X509 certificate, reference-counted, dynamically-allocated only
Definition: QoreSSLCertificate.h:42
typed hash declaration
Definition: TypedHashDecl.h:44
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
virtual DLLLOCAL void deref(ExceptionSink *xsink)
decrements the reference count of the object
Definition: AbstractPrivateData.h:61
provides a mutually-exclusive thread lock
Definition: QoreThreadLock.h:49
provides access to a private key data structure for SSL connections
Definition: QoreSSLPrivateKey.h:40