proxygen
|
#include <AsyncSSLSocketTest.h>
Public Member Functions | |
HandshakeTimeoutCallback (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 667 of file AsyncSSLSocketTest.h.
|
inlineexplicit |
Definition at line 669 of file AsyncSSLSocketTest.h.
|
inlineoverridevirtualnoexcept |
Implements folly::SSLServerAcceptCallbackBase.
Definition at line 672 of file AsyncSSLSocketTest.h.
References EXPECT_EQ, folly::AsyncSocket::getEventBase(), s, folly::AsyncSSLSocket::STATE_ACCEPTING, folly::STATE_SUCCEEDED, folly::AsyncSSLSocket::STATE_UNINIT, and folly::TimeoutManager::tryRunAfterDelay().