proxygen
wangle::PeekingAcceptorHandshakeHelper::PeekCallback Class Referenceabstract

#include <PeekingAcceptorHandshakeHelper.h>

Inheritance diagram for wangle::PeekingAcceptorHandshakeHelper::PeekCallback:
LengthPeeker< N > MockPeekingCallback wangle::DefaultToFizzPeekingCallback wangle::DefaultToSSLPeekingCallback wangle::TLSPlaintextPeekingCallback

Public Member Functions

 PeekCallback (size_t bytesRequired)
 
virtual ~PeekCallback ()=default
 
size_t getBytesRequired () const
 
virtual AcceptorHandshakeHelper::UniquePtr getHelper (const std::vector< uint8_t > &peekedBytes, const folly::SocketAddress &clientAddr, std::chrono::steady_clock::time_point acceptTime, TransportInfo &tinfo)=0
 

Private Attributes

const size_t bytesRequired_
 

Detailed Description

Definition at line 35 of file PeekingAcceptorHandshakeHelper.h.

Constructor & Destructor Documentation

wangle::PeekingAcceptorHandshakeHelper::PeekCallback::PeekCallback ( size_t  bytesRequired)
inlineexplicit

Definition at line 37 of file PeekingAcceptorHandshakeHelper.h.

References ~PeekCallback().

virtual wangle::PeekingAcceptorHandshakeHelper::PeekCallback::~PeekCallback ( )
virtualdefault

Referenced by PeekCallback().

Member Function Documentation

size_t wangle::PeekingAcceptorHandshakeHelper::PeekCallback::getBytesRequired ( ) const
inline
virtual AcceptorHandshakeHelper::UniquePtr wangle::PeekingAcceptorHandshakeHelper::PeekCallback::getHelper ( const std::vector< uint8_t > &  peekedBytes,
const folly::SocketAddress clientAddr,
std::chrono::steady_clock::time_point  acceptTime,
TransportInfo tinfo 
)
pure virtual

Member Data Documentation

const size_t wangle::PeekingAcceptorHandshakeHelper::PeekCallback::bytesRequired_
private

Definition at line 52 of file PeekingAcceptorHandshakeHelper.h.

Referenced by getBytesRequired().


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