Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

ost::SSLStream Class Reference

#include <ssl.h>

Inheritance diagram for ost::SSLStream::

ost::TCPStream std::streambuf ost::Socket std::iostream List of all members.

Public Methods

 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

Constructor & Destructor Documentation

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

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

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

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

ost::SSLStream::SSLStream ( const SSLStream & ssl )
 

ost::SSLStream::~SSLStream ( ) [virtual]
 


Member Function Documentation

void ost::SSLStream::disconnect ( void )
 

Reimplemented from ost::TCPStream.

void ost::SSLStream::endStream ( void )
 

Reimplemented from ost::TCPStream.

bool ost::SSLStream::getSession ( void )
 

bool ost::SSLStream::isSSL ( void ) [inline]
 

ssize_t ost::SSLStream::readData ( void * buf,
size_t len,
char separator = 0,
timeout_t to = 0 ) [virtual]
 

Reimplemented from ost::Socket.

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

Reimplemented from ost::Socket.

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


Member Data Documentation

SSL * ost::SSLStream::ssl [protected]
 


The documentation for this class was generated from the following file:
Generated at Fri May 30 14:51:04 2008 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001