A private pimple class used by GSsl::Protocol. More...
Public Types | |
typedef Protocol::Result | Result |
typedef Protocol::LogFn | LogFn |
typedef Protocol::size_type | size_type |
typedef Protocol::ssize_type | ssize_type |
Public Member Functions | |
ProtocolImp (const Context &c, unsigned int flags) | |
ProtocolImp (const Context &c, unsigned int flags, LogFn log) | |
~ProtocolImp () | |
Result | connect (int) |
Result | accept (int) |
Result | stop () |
Result | read (char *buffer, size_type buffer_size, ssize_type &read_size) |
Result | write (const char *buffer, size_type size_in, ssize_type &size_out) |
std::pair< std::string, bool > | peerCertificate () |
A private pimple class used by GSsl::Protocol.
Definition at line 128 of file gssl_openssl.cpp.
typedef Protocol::LogFn GSsl::ProtocolImp::LogFn |
Definition at line 132 of file gssl_openssl.cpp.
Definition at line 131 of file gssl_openssl.cpp.
Definition at line 133 of file gssl_openssl.cpp.
Definition at line 134 of file gssl_openssl.cpp.
|
explicit |
Definition at line 434 of file gssl_openssl.cpp.
References GSsl::Context::p().
Definition at line 445 of file gssl_openssl.cpp.
References GSsl::Context::p().
GSsl::ProtocolImp::~ProtocolImp | ( | ) |
Definition at line 456 of file gssl_openssl.cpp.
GSsl::Protocol::Result GSsl::ProtocolImp::accept | ( | int | fd | ) |
GSsl::Protocol::Result GSsl::ProtocolImp::connect | ( | int | fd | ) |
std::pair< std::string, bool > GSsl::ProtocolImp::peerCertificate | ( | ) |
Definition at line 612 of file gssl_openssl.cpp.
References GSsl::Certificate::str().
GSsl::Protocol::Result GSsl::ProtocolImp::read | ( | char * | buffer, |
size_type | buffer_size, | ||
ssize_type & | read_size | ||
) |
Definition at line 568 of file gssl_openssl.cpp.
References GSsl::Protocol::Result_more, and GSsl::Protocol::Result_ok.
GSsl::Protocol::Result GSsl::ProtocolImp::stop | ( | ) |
Definition at line 562 of file gssl_openssl.cpp.
References GSsl::Protocol::Result_error, and GSsl::Protocol::Result_ok.
GSsl::Protocol::Result GSsl::ProtocolImp::write | ( | const char * | buffer, |
size_type | size_in, | ||
ssize_type & | size_out | ||
) |
Definition at line 590 of file gssl_openssl.cpp.
References GSsl::Protocol::Result_ok.