proxygen
MockPeekingCallback Class Reference
Inheritance diagram for MockPeekingCallback:
wangle::PeekingAcceptorHandshakeHelper::PeekCallback

Public Member Functions

 MOCK_METHOD4_T (getHelperInternal, AcceptorHandshakeHelper *(const std::vector< uint8_t > &, const folly::SocketAddress &, std::chrono::steady_clock::time_point, TransportInfo &))
 
wangle::AcceptorHandshakeHelper::UniquePtr getHelper (const std::vector< uint8_t > &peekedBytes, const folly::SocketAddress &clientAddr, std::chrono::steady_clock::time_point acceptTime, TransportInfo &tinfo) override
 
- Public Member Functions inherited from wangle::PeekingAcceptorHandshakeHelper::PeekCallback
 PeekCallback (size_t bytesRequired)
 
virtual ~PeekCallback ()=default
 
size_t getBytesRequired () const
 

Detailed Description

Definition at line 30 of file PeekingAcceptorHandshakeHelperTest.cpp.

Member Function Documentation

wangle::AcceptorHandshakeHelper::UniquePtr MockPeekingCallback::getHelper ( const std::vector< uint8_t > &  peekedBytes,
const folly::SocketAddress clientAddr,
std::chrono::steady_clock::time_point  acceptTime,
TransportInfo tinfo 
)
inlineoverridevirtual

Implements wangle::PeekingAcceptorHandshakeHelper::PeekCallback.

Definition at line 43 of file PeekingAcceptorHandshakeHelperTest.cpp.

47  {
49  getHelperInternal(peekedBytes, clientAddr, acceptTime, tinfo));
50  }
std::unique_ptr< AcceptorHandshakeHelper, folly::DelayedDestruction::Destructor > UniquePtr
MockPeekingCallback::MOCK_METHOD4_T ( getHelperInternal  ,
AcceptorHandshakeHelper const std::vector< uint8_t > &, const folly::SocketAddress &, std::chrono::steady_clock::time_point, TransportInfo & 
)

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