proxygen
|
#include <AcceptorHelperMocks.h>
Public Member Functions | |
MOCK_METHOD3 (connectionError_, void(folly::AsyncTransportWrapper *, folly::exception_wrapper, folly::Optional< wangle::SSLErrorEnum >)) | |
void | connectionError (folly::AsyncTransportWrapper *transport, folly::exception_wrapper ex, folly::Optional< wangle::SSLErrorEnum > sslErr) noexceptoverride |
void | connectionReady (folly::AsyncTransportWrapper::UniquePtr transport, std::string nextProtocol, SecureTransportType secureTransportType, folly::Optional< wangle::SSLErrorEnum > sslErr) noexceptoverride |
Public Member Functions inherited from wangle::AcceptorHandshakeHelper::Callback | |
virtual | ~Callback ()=default |
virtual void | connectionReady (folly::AsyncTransportWrapper::UniquePtr transport, std::string nextProtocol, SecureTransportType secureTransportType, folly::Optional< SSLErrorEnum > sslErr) noexcept=0 |
Definition at line 32 of file AcceptorHelperMocks.h.
|
inlineoverridevirtualnoexcept |
Called if an error was encountered while performing handshake.
If sslErr is set, Acceptor::updateSSLStats will be called.
Implements wangle::AcceptorHandshakeHelper::Callback.
Definition at line 43 of file AcceptorHelperMocks.h.
|
inlineoverridenoexcept |
Definition at line 50 of file AcceptorHelperMocks.h.
MockHandshakeHelperCallback< UniquePtrTranslationPolicy >::MOCK_METHOD3 | ( | connectionError_ | , |
void(folly::AsyncTransportWrapper *, folly::exception_wrapper, folly::Optional< wangle::SSLErrorEnum >) | |||
) |