Anoncoin  0.9.4
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
SSLIOStreamDevice< Protocol > Class Template Reference

#include <rpcprotocol.h>

Inheritance diagram for SSLIOStreamDevice< Protocol >:
[legend]
Collaboration diagram for SSLIOStreamDevice< Protocol >:
[legend]

Public Member Functions

 SSLIOStreamDevice (boost::asio::ssl::stream< typename Protocol::socket > &streamIn, bool fUseSSLIn)
 
void handshake (boost::asio::ssl::stream_base::handshake_type role)
 
std::streamsize read (char *s, std::streamsize n)
 
std::streamsize write (const char *s, std::streamsize n)
 
bool connect (const std::string &server, const std::string &port)
 

Private Attributes

bool fNeedHandshake
 
bool fUseSSL
 
boost::asio::ssl::stream< typename Protocol::socket > & stream
 

Detailed Description

template<typename Protocol>
class SSLIOStreamDevice< Protocol >

Definition at line 79 of file rpcprotocol.h.

Constructor & Destructor Documentation

template<typename Protocol>
SSLIOStreamDevice< Protocol >::SSLIOStreamDevice ( boost::asio::ssl::stream< typename Protocol::socket > &  streamIn,
bool  fUseSSLIn 
)
inline

Definition at line 81 of file rpcprotocol.h.

Member Function Documentation

template<typename Protocol>
bool SSLIOStreamDevice< Protocol >::connect ( const std::string &  server,
const std::string &  port 
)
inline

Definition at line 105 of file rpcprotocol.h.

Here is the caller graph for this function:

template<typename Protocol>
void SSLIOStreamDevice< Protocol >::handshake ( boost::asio::ssl::stream_base::handshake_type  role)
inline

Definition at line 87 of file rpcprotocol.h.

Here is the caller graph for this function:

template<typename Protocol>
std::streamsize SSLIOStreamDevice< Protocol >::read ( char *  s,
std::streamsize  n 
)
inline

Definition at line 93 of file rpcprotocol.h.

Here is the call graph for this function:

template<typename Protocol>
std::streamsize SSLIOStreamDevice< Protocol >::write ( const char *  s,
std::streamsize  n 
)
inline

Definition at line 99 of file rpcprotocol.h.

Here is the call graph for this function:

Member Data Documentation

template<typename Protocol>
bool SSLIOStreamDevice< Protocol >::fNeedHandshake
private

Definition at line 123 of file rpcprotocol.h.

template<typename Protocol>
bool SSLIOStreamDevice< Protocol >::fUseSSL
private

Definition at line 124 of file rpcprotocol.h.

template<typename Protocol>
boost::asio::ssl::stream<typename Protocol::socket>& SSLIOStreamDevice< Protocol >::stream
private

Definition at line 125 of file rpcprotocol.h.


The documentation for this class was generated from the following file: