proxygen
MockHandshakeHelper< UniquePtrTranslationPolicy > Class Template Reference

#include <AcceptorHelperMocks.h>

Inheritance diagram for MockHandshakeHelper< UniquePtrTranslationPolicy >:
wangle::AcceptorHandshakeHelper folly::DelayedDestruction folly::DelayedDestructionBase

Public Member Functions

void start (folly::AsyncSSLSocket::UniquePtr sock, AcceptorHandshakeHelper::Callback *callback) noexceptoverride
 
 MOCK_METHOD1 (dropConnection, void(wangle::SSLErrorEnum reason))
 
- Public Member Functions inherited from wangle::AcceptorHandshakeHelper
virtual void start (folly::AsyncSSLSocket::UniquePtr sock, AcceptorHandshakeHelper::Callback *callback) noexcept=0
 
virtual void dropConnection (SSLErrorEnum reason=SSLErrorEnum::NO_ERROR)=0
 
- Public Member Functions inherited from folly::DelayedDestruction
virtual void destroy ()
 
bool getDestroyPending () const
 
- Public Member Functions inherited from folly::DelayedDestructionBase
virtual ~DelayedDestructionBase ()=default
 

Additional Inherited Members

- Public Types inherited from wangle::AcceptorHandshakeHelper
using UniquePtr = std::unique_ptr< AcceptorHandshakeHelper, folly::DelayedDestruction::Destructor >
 
- Protected Member Functions inherited from folly::DelayedDestruction
 ~DelayedDestruction () override=default
 
 DelayedDestruction ()
 
- Protected Member Functions inherited from folly::DelayedDestructionBase
 DelayedDestructionBase ()
 
uint32_t getDestructorGuardCount () const
 

Detailed Description

template<template< class > class UniquePtrTranslationPolicy = UseSharedPtrPolicy>
class MockHandshakeHelper< UniquePtrTranslationPolicy >

Definition at line 65 of file AcceptorHelperMocks.h.

Member Function Documentation

template<template< class > class UniquePtrTranslationPolicy = UseSharedPtrPolicy>
MockHandshakeHelper< UniquePtrTranslationPolicy >::MOCK_METHOD1 ( dropConnection  ,
void(wangle::SSLErrorEnum reason)   
)
template<template< class > class UniquePtrTranslationPolicy = UseSharedPtrPolicy>
void MockHandshakeHelper< UniquePtrTranslationPolicy >::start ( folly::AsyncSSLSocket::UniquePtr  sock,
AcceptorHandshakeHelper::Callback *  callback 
)
inlineoverridenoexcept

Definition at line 70 of file AcceptorHelperMocks.h.

72  {
73  MockHandshakeHelper::dispatchStart(std::move(sock), callback);
74  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

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