#include <yassl.hpp>
Collaboration diagram for yaSSL::Server:

Public Member Functions | |
| Server () | |
| ~Server () | |
| int | Accept (SOCKET_T) |
| int | Write (const void *, int) |
| int | Read (void *, int) |
| void | SetCA (const char *) |
| void | SetCert (const char *) |
| void | SetKey (const char *) |
Private Member Functions | |
| Server (const Server &) | |
| Server & | operator= (const Server &) |
Private Attributes | |
| ServerImpl * | pimpl_ |
Classes | |
| struct | ServerImpl |
Definition at line 64 of file yassl.hpp.
| yaSSL::Server::Server | ( | ) |
| yaSSL::Server::~Server | ( | ) |
| yaSSL::Server::Server | ( | const Server & | ) | [private] |
| int yaSSL::Server::Accept | ( | SOCKET_T | ) |
Definition at line 209 of file yassl.cpp.
References yaSSL::Server::ServerImpl::base_, pimpl_, yaSSL::server_end, yaSSL::SetUpBase(), yaSSL::Base::ssl_, and yaSSL::SSL_accept().
00210 { 00211 SetUpBase(pimpl_->base_, server_end, s); 00212 return SSL_accept(pimpl_->base_.ssl_); 00213 }
Here is the call graph for this function:

| int yaSSL::Server::Read | ( | void * | , | |
| int | ||||
| ) |
Definition at line 222 of file yassl.cpp.
References yaSSL::Server::ServerImpl::base_, data, yaSSL::MAX_RECORD_SIZE, min, pimpl_, yaSSL::receiveData(), and yaSSL::Base::ssl_.
00223 { 00224 Data data(min(sz, MAX_RECORD_SIZE), static_cast<opaque*>(buffer)); 00225 return receiveData(*pimpl_->base_.ssl_, data); 00226 }
Here is the call graph for this function:

| void yaSSL::Server::SetCA | ( | const char * | ) |
Definition at line 229 of file yassl.cpp.
References yaSSL::Server::ServerImpl::base_, yaSSL::Base::ca_, yaSSL::NewCopy(), and pimpl_.
Here is the call graph for this function:

| void yaSSL::Server::SetCert | ( | const char * | ) |
Definition at line 235 of file yassl.cpp.
References yaSSL::Server::ServerImpl::base_, yaSSL::Base::cert_, yaSSL::NewCopy(), and pimpl_.
Here is the call graph for this function:

| void yaSSL::Server::SetKey | ( | const char * | ) |
Definition at line 241 of file yassl.cpp.
References yaSSL::Server::ServerImpl::base_, yaSSL::Base::key_, yaSSL::NewCopy(), and pimpl_.
Here is the call graph for this function:

| int yaSSL::Server::Write | ( | const void * | , | |
| int | ||||
| ) |
Definition at line 216 of file yassl.cpp.
References yaSSL::Server::ServerImpl::base_, pimpl_, yaSSL::sendData(), and yaSSL::Base::ssl_.
Here is the call graph for this function:

ServerImpl* yaSSL::Server::pimpl_ [private] |
1.4.7

