proxygen
|
#include <AsyncSSLSocketTest.h>
Public Member Functions | |
SSLServerAcceptCallback (HandshakeCallback *hcb, uint32_t timeout=0) | |
~SSLServerAcceptCallback () override | |
void | connAccepted (const std::shared_ptr< folly::AsyncSSLSocket > &s) noexceptoverride |
![]() | |
SSLServerAcceptCallbackBase (HandshakeCallback *hcb) | |
~SSLServerAcceptCallbackBase () override | |
void | acceptError (const std::exception &ex) noexceptoverride |
void | connectionAccepted (int fd, const SocketAddress &) noexceptoverride |
void | detach () |
![]() | |
virtual | ~AcceptCallback ()=default |
virtual void | acceptStarted () noexcept |
virtual void | acceptStopped () noexcept |
Public Attributes | |
uint32_t | timeout_ |
![]() | |
StateEnum | state |
HandshakeCallback * | hcb_ |
std::shared_ptr< SSLContext > | ctx_ |
std::shared_ptr< AsyncSSLSocket > | socket_ |
EventBase * | base_ |
Definition at line 547 of file AsyncSSLSocketTest.h.
|
inlineexplicit |
Definition at line 551 of file AsyncSSLSocketTest.h.
References folly::detail::timeout.
|
inlineoverride |
Definition at line 554 of file AsyncSSLSocketTest.h.
References EXPECT_EQ, folly::STATE_FAILED, and folly::STATE_SUCCEEDED.
|
inlineoverridevirtualnoexcept |
Implements folly::SSLServerAcceptCallbackBase.
Reimplemented in folly::SSLServerAsyncCacheAcceptCallback, and folly::SSLServerAcceptCallbackDelay.
Definition at line 562 of file AsyncSSLSocketTest.h.
References EXPECT_EQ, s, folly::AsyncSSLSocket::sslAccept(), folly::AsyncSSLSocket::STATE_ACCEPTING, and folly::STATE_SUCCEEDED.
Referenced by folly::SSLServerAcceptCallbackDelay::connAccepted().
uint32_t folly::SSLServerAcceptCallback::timeout_ |
Definition at line 549 of file AsyncSSLSocketTest.h.