proxygen
wangle::AcceptorHandshakeHelper::Callback Class Referenceabstract

#include <AcceptorHandshakeManager.h>

Inheritance diagram for wangle::AcceptorHandshakeHelper::Callback:
MockHandshakeHelperCallback< UniquePtrTranslationPolicy > MockHandshakeHelperCallback< UseOwnedRawPtrPolicy > MockHandshakeHelperCallback<> wangle::AcceptorHandshakeManager wangle::EvbHandshakeHelper testing::StrictMock< MockHandshakeHelperCallback<> > testing::StrictMock< MockHandshakeHelperCallback<> > testing::StrictMock< MockHandshakeHelperCallback<> > wangle::PeekingAcceptorHandshakeManager

Public Member Functions

virtual ~Callback ()=default
 
virtual void connectionReady (folly::AsyncTransportWrapper::UniquePtr transport, std::string nextProtocol, SecureTransportType secureTransportType, folly::Optional< SSLErrorEnum > sslErr) noexcept=0
 
virtual void connectionError (folly::AsyncTransportWrapper *transport, folly::exception_wrapper ex, folly::Optional< SSLErrorEnum > sslErr) noexcept=0
 

Detailed Description

Definition at line 37 of file AcceptorHandshakeManager.h.

Constructor & Destructor Documentation

virtual wangle::AcceptorHandshakeHelper::Callback::~Callback ( )
virtualdefault

Member Function Documentation

virtual void wangle::AcceptorHandshakeHelper::Callback::connectionReady ( folly::AsyncTransportWrapper::UniquePtr  transport,
std::string  nextProtocol,
SecureTransportType  secureTransportType,
folly::Optional< SSLErrorEnum sslErr 
)
pure virtualnoexcept

Called after handshake has been completed successfully.

If sslErr is set, Acceptor::updateSSLStats will be called.

Implemented in wangle::AcceptorHandshakeManager, and wangle::EvbHandshakeHelper.

Referenced by wangle::EvbHandshakeHelper::connectionReady(), and wangle::AcceptorHandshakeManager::dumpConnectionState().


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