#include <SSLSocket.h>
Definition at line 12 of file SSLSocket.h.
Public Member Functions | |
SSLSocket (const SSLContext &_ctx) | |
SSLSocket (const SSLContext &_ctx, const char *thehost, int theport) | |
SSLSocket (const SSLContext &_ctx, const String &thehost, int theport) | |
SSLSocket (SSLSocket *s) | |
SSLSocket (const SSLSocket &s) | |
const SSLSocket & | operator= (const SSLSocket &s) |
virtual | ~SSLSocket () |
virtual void | write (const void *buffer, unsigned long size) |
virtual int | read (void *buffer, unsigned long size) |
virtual const char * | getClassName () |
Returns the name of the current class. | |
virtual std::string | toString () |
Static Public Member Functions | |
static void | debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Will print a debug message to the screen. | |
static void | debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Protected Member Functions | |
void | attach () |
Protected Attributes | |
SSLContext | ctx |
void * | idata |
std::string | __cls_name |
Private Attributes | |
int | tsock |
int | port |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Object &s) |
xvr2::Net::SSLSocket::SSLSocket | ( | const SSLContext & | _ctx | ) |
xvr2::Net::SSLSocket::SSLSocket | ( | const SSLContext & | _ctx, | |
const char * | thehost, | |||
int | theport | |||
) |
xvr2::Net::SSLSocket::SSLSocket | ( | const SSLContext & | _ctx, | |
const String & | thehost, | |||
int | theport | |||
) |
xvr2::Net::SSLSocket::SSLSocket | ( | SSLSocket * | s | ) |
xvr2::Net::SSLSocket::SSLSocket | ( | const SSLSocket & | s | ) |
virtual xvr2::Net::SSLSocket::~SSLSocket | ( | ) | [virtual] |
void xvr2::Net::SSLSocket::attach | ( | ) | [protected] |
virtual void xvr2::Net::SSLSocket::write | ( | const void * | buffer, | |
unsigned long | size | |||
) | [virtual] |
virtual int xvr2::Net::SSLSocket::read | ( | void * | buffer, | |
unsigned long | size | |||
) | [virtual] |
virtual const char* xvr2::Object::getClassName | ( | ) | [virtual, inherited] |
Returns the name of the current class.
static void xvr2::Object::debugmsg | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
Will print a debug message to the screen.
static void xvr2::Object::debugmsgln | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
virtual std::string xvr2::Object::toString | ( | ) | [virtual, inherited] |
std::ostream& operator<< | ( | std::ostream & | stream, | |
const Object & | s | |||
) | [friend, inherited] |
int xvr2::Net::SSLSocket::tsock [private] |
Definition at line 14 of file SSLSocket.h.
int xvr2::Net::SSLSocket::port [private] |
Definition at line 15 of file SSLSocket.h.
SSLContext xvr2::Net::SSLSocket::ctx [protected] |
Definition at line 17 of file SSLSocket.h.
void* xvr2::Net::SSLSocket::idata [protected] |
Definition at line 18 of file SSLSocket.h.
std::string xvr2::Object::__cls_name [protected, inherited] |