proxygen
|
#include <AsyncSSLSocketTest.h>
Public Member Functions | |
HandshakeErrorCallback (HandshakeCallback *hcb) | |
void | connAccepted (const std::shared_ptr< folly::AsyncSSLSocket > &s) noexceptoverride |
Public Member Functions inherited from folly::SSLServerAcceptCallbackBase | |
SSLServerAcceptCallbackBase (HandshakeCallback *hcb) | |
~SSLServerAcceptCallbackBase () override | |
void | acceptError (const std::exception &ex) noexceptoverride |
void | connectionAccepted (int fd, const SocketAddress &) noexceptoverride |
void | detach () |
Public Member Functions inherited from folly::AsyncServerSocket::AcceptCallback | |
virtual | ~AcceptCallback ()=default |
virtual void | acceptStarted () noexcept |
virtual void | acceptStopped () noexcept |
Additional Inherited Members | |
Public Attributes inherited from folly::SSLServerAcceptCallbackBase | |
StateEnum | state |
HandshakeCallback * | hcb_ |
std::shared_ptr< SSLContext > | ctx_ |
std::shared_ptr< AsyncSSLSocket > | socket_ |
EventBase * | base_ |
Definition at line 635 of file AsyncSSLSocketTest.h.
|
inlineexplicit |
Definition at line 637 of file AsyncSSLSocketTest.h.
|
inlineoverridevirtualnoexcept |
Implements folly::SSLServerAcceptCallbackBase.
Definition at line 640 of file AsyncSSLSocketTest.h.
References EXPECT_EQ, s, folly::AsyncSSLSocket::sslAccept(), folly::AsyncSSLSocket::STATE_ACCEPTING, folly::AsyncSSLSocket::STATE_ERROR, folly::STATE_FAILED, and folly::STATE_SUCCEEDED.