proxygen
folly::SSLHandshakeServer Class Reference

#include <AsyncSSLSocketTest.h>

Inheritance diagram for folly::SSLHandshakeServer:
folly::SSLHandshakeBase folly::AsyncSSLSocket::HandshakeCB folly::AsyncWriter::WriteCallback

Public Member Functions

 SSLHandshakeServer (AsyncSSLSocket::UniquePtr socket, bool preverifyResult, bool verifyResult)
 
- Public Member Functions inherited from folly::SSLHandshakeBase
 SSLHandshakeBase (AsyncSSLSocket::UniquePtr socket, bool preverifyResult, bool verifyResult)
 
AsyncSSLSocket::UniquePtr moveSocket ()&&
 
- Public Member Functions inherited from folly::AsyncSSLSocket::HandshakeCB
virtual ~HandshakeCB ()=default
 

Additional Inherited Members

- Public Attributes inherited from folly::SSLHandshakeBase
bool handshakeVerify_
 
bool handshakeSuccess_
 
bool handshakeError_
 
std::chrono::nanoseconds handshakeTime
 
- Protected Member Functions inherited from folly::SSLHandshakeBase
bool handshakeVer (AsyncSSLSocket *, bool preverifyOk, X509_STORE_CTX *) noexceptoverride
 
void handshakeSuc (AsyncSSLSocket *) noexceptoverride
 
void handshakeErr (AsyncSSLSocket *, const AsyncSocketException &ex) noexceptoverride
 
void writeSuccess () noexceptoverride
 
void writeErr (size_t bytesWritten, const AsyncSocketException &ex) noexceptoverride
 
- Protected Attributes inherited from folly::SSLHandshakeBase
AsyncSSLSocket::UniquePtr socket_
 
bool preverifyResult_
 
bool verifyResult_
 

Detailed Description

Definition at line 1381 of file AsyncSSLSocketTest.h.

Constructor & Destructor Documentation

folly::SSLHandshakeServer::SSLHandshakeServer ( AsyncSSLSocket::UniquePtr  socket,
bool  preverifyResult,
bool  verifyResult 
)
inline

Definition at line 1383 of file AsyncSSLSocketTest.h.

References folly::SendMsgParamsCallbackBase::socket_.

1387  : SSLHandshakeBase(std::move(socket), preverifyResult, verifyResult) {
1388  socket_->sslAccept(this, std::chrono::milliseconds::zero());
1389  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
SSLHandshakeBase(AsyncSSLSocket::UniquePtr socket, bool preverifyResult, bool verifyResult)
AsyncSSLSocket::UniquePtr socket_
NetworkSocket socket(int af, int type, int protocol)
Definition: NetOps.cpp:412

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