SYNOPSIS

#include <ssl.h>

Inherits ost::TCPStream.

Public Member Functions

SSLStream (Family family=IPV4, bool throwflag=true, timeout_t to=0)

void disconnect (void)

SSLStream (const IPV4Host &host, tpport_t port, unsigned mss=536, bool throwflag=true, timeout_t to=0)

SSLStream (const IPV6Host &host, tpport_t port, unsigned mss=536, bool throwflag=true, timeout_t to=0)

SSLStream (const char *name, Family family=IPV4, unsigned mss=536, bool throwflag=false, timeout_t to=0)

SSLStream (const SSLStream &ssl)

bool isSSL (void)

bool getSession (void)

void endStream (void)

virtual ~SSLStream ()

ssize_t readLine (char *str, size_t max, timeout_t to=0)

ssize_t readData (void *buf, size_t len, char separator=0, timeout_t to=0)

ssize_t writeData (void *buf, size_t len, timeout_t to=0)

Protected Attributes

SSL * ssl

Additional Inherited Members

Constructor & Destructor Documentation

ost::SSLStream::SSLStream (\fBFamily\fPfamily = \fC\fBIPV4\fP\fP, boolthrowflag = \fCtrue\fP, \fBtimeout_t\fPto = \fC0\fP)

ost::SSLStream::SSLStream (const \fBIPV4Host\fP &host, \fBtpport_t\fPport, unsignedmss = \fC536\fP, boolthrowflag = \fCtrue\fP, \fBtimeout_t\fPto = \fC0\fP)

ost::SSLStream::SSLStream (const \fBIPV6Host\fP &host, \fBtpport_t\fPport, unsignedmss = \fC536\fP, boolthrowflag = \fCtrue\fP, \fBtimeout_t\fPto = \fC0\fP)

ost::SSLStream::SSLStream (const char *name, \fBFamily\fPfamily = \fC\fBIPV4\fP\fP, unsignedmss = \fC536\fP, boolthrowflag = \fCfalse\fP, \fBtimeout_t\fPto = \fC0\fP)

ost::SSLStream::SSLStream (const \fBSSLStream\fP &ssl)

virtual ost::SSLStream::~SSLStream ()\fC [virtual]\fP

Member Function Documentation

void ost::SSLStream::disconnect (void)

void ost::SSLStream::endStream (void)

bool ost::SSLStream::getSession (void)

bool ost::SSLStream::isSSL (void)\fC [inline]\fP

References ssl.

ssize_t ost::SSLStream::readData (void *buf, size_tlen, charseparator = \fC0\fP, \fBtimeout_t\fPto = \fC0\fP)\fC [virtual]\fP

Reimplemented from ost::Socket.

ssize_t ost::SSLStream::readLine (char *str, size_tmax, \fBtimeout_t\fPto = \fC0\fP)

ssize_t ost::SSLStream::writeData (void *buf, size_tlen, \fBtimeout_t\fPto = \fC0\fP)

Member Data Documentation

SSL* ost::SSLStream::ssl\fC [protected]\fP

Referenced by isSSL().

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.