proxygen
UseSharedPtrPolicy< MockHandshakeHelper< P > > Struct Template Reference

#include <AcceptorHelperMocks.h>

Public Member Functions

 MOCK_METHOD2 (startInternal, void(std::shared_ptr< folly::AsyncSSLSocket >, wangle::AcceptorHandshakeHelper::Callback *))
 
void dispatchStart (folly::AsyncSSLSocket::UniquePtr sock, wangle::AcceptorHandshakeHelper::Callback *callback) noexcept
 

Detailed Description

template<template< class > class P>
struct UseSharedPtrPolicy< MockHandshakeHelper< P > >

Definition at line 80 of file AcceptorHelperMocks.h.

Member Function Documentation

template<template< class > class P>
void UseSharedPtrPolicy< MockHandshakeHelper< P > >::dispatchStart ( folly::AsyncSSLSocket::UniquePtr  sock,
wangle::AcceptorHandshakeHelper::Callback callback 
)
inlinenoexcept

Definition at line 88 of file AcceptorHelperMocks.h.

References folly::gen::move.

90  {
91  startInternal(
92  std::shared_ptr<folly::AsyncSSLSocket>(std::move(sock)), callback);
93  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
template<template< class > class P>
UseSharedPtrPolicy< MockHandshakeHelper< P > >::MOCK_METHOD2 ( startInternal  ,
void(std::shared_ptr< folly::AsyncSSLSocket >, wangle::AcceptorHandshakeHelper::Callback *)   
)

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