proxygen
wangle::DefaultToFizzPeekingCallback Class Reference

#include <FizzAcceptorHandshakeHelper.h>

Inheritance diagram for wangle::DefaultToFizzPeekingCallback:
wangle::PeekingAcceptorHandshakeHelper::PeekCallback

Public Member Functions

 DefaultToFizzPeekingCallback ()
 
std::shared_ptr< fizz::server::FizzServerContextgetContext () const
 
void setContext (std::shared_ptr< fizz::server::FizzServerContext > context)
 
std::shared_ptr< fizz::extensions::TokenBindingContextgetTokenBindingContext () const
 
void setTokenBindingContext (std::shared_ptr< fizz::extensions::TokenBindingContext > context)
 
void setLoggingCallback (FizzAcceptorHandshakeHelper::LoggingCallback *loggingCallback)
 
wangle::AcceptorHandshakeHelper::UniquePtr getHelper (const std::vector< uint8_t > &, const folly::SocketAddress &clientAddr, std::chrono::steady_clock::time_point acceptTime, wangle::TransportInfo &tinfo) override
 
- Public Member Functions inherited from wangle::PeekingAcceptorHandshakeHelper::PeekCallback
 PeekCallback (size_t bytesRequired)
 
virtual ~PeekCallback ()=default
 
size_t getBytesRequired () const
 

Protected Attributes

std::shared_ptr< fizz::server::FizzServerContextcontext_
 
std::shared_ptr< fizz::extensions::TokenBindingContexttokenBindingContext_
 
FizzAcceptorHandshakeHelper::LoggingCallbackloggingCallback_ {nullptr}
 

Detailed Description

Definition at line 115 of file FizzAcceptorHandshakeHelper.h.

Constructor & Destructor Documentation

wangle::DefaultToFizzPeekingCallback::DefaultToFizzPeekingCallback ( )
inline

Member Function Documentation

std::shared_ptr<fizz::server::FizzServerContext> wangle::DefaultToFizzPeekingCallback::getContext ( ) const
inline

Definition at line 121 of file FizzAcceptorHandshakeHelper.h.

121  {
122  return context_;
123  }
std::shared_ptr< fizz::server::FizzServerContext > context_
wangle::AcceptorHandshakeHelper::UniquePtr wangle::DefaultToFizzPeekingCallback::getHelper ( const std::vector< uint8_t > &  ,
const folly::SocketAddress clientAddr,
std::chrono::steady_clock::time_point  acceptTime,
wangle::TransportInfo tinfo 
)
inlineoverridevirtual

Implements wangle::PeekingAcceptorHandshakeHelper::PeekCallback.

Definition at line 144 of file FizzAcceptorHandshakeHelper.h.

148  {
150  new FizzAcceptorHandshakeHelper(context_,
151  clientAddr,
152  acceptTime,
153  tinfo,
156  }
std::shared_ptr< fizz::server::FizzServerContext > context_
FizzAcceptorHandshakeHelper::LoggingCallback * loggingCallback_
std::shared_ptr< fizz::extensions::TokenBindingContext > tokenBindingContext_
std::unique_ptr< AcceptorHandshakeHelper, folly::DelayedDestruction::Destructor > UniquePtr
std::shared_ptr<fizz::extensions::TokenBindingContext> wangle::DefaultToFizzPeekingCallback::getTokenBindingContext ( ) const
inline

Definition at line 130 of file FizzAcceptorHandshakeHelper.h.

130  {
131  return tokenBindingContext_;
132  }
std::shared_ptr< fizz::extensions::TokenBindingContext > tokenBindingContext_
void wangle::DefaultToFizzPeekingCallback::setContext ( std::shared_ptr< fizz::server::FizzServerContext context)
inline

Definition at line 125 of file FizzAcceptorHandshakeHelper.h.

References folly::gen::move.

Referenced by wangle::Acceptor::resetSSLContextConfigs().

125  {
127  }
std::shared_ptr< fizz::server::FizzServerContext > context_
context
Definition: CMakeCache.txt:563
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
void wangle::DefaultToFizzPeekingCallback::setLoggingCallback ( FizzAcceptorHandshakeHelper::LoggingCallback loggingCallback)
inline

Definition at line 139 of file FizzAcceptorHandshakeHelper.h.

140  {
141  loggingCallback_ = loggingCallback;
142  }
FizzAcceptorHandshakeHelper::LoggingCallback * loggingCallback_
void wangle::DefaultToFizzPeekingCallback::setTokenBindingContext ( std::shared_ptr< fizz::extensions::TokenBindingContext context)
inline

Definition at line 134 of file FizzAcceptorHandshakeHelper.h.

References folly::gen::move.

135  {
137  }
context
Definition: CMakeCache.txt:563
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
std::shared_ptr< fizz::extensions::TokenBindingContext > tokenBindingContext_

Member Data Documentation

std::shared_ptr<fizz::server::FizzServerContext> wangle::DefaultToFizzPeekingCallback::context_
protected

Definition at line 159 of file FizzAcceptorHandshakeHelper.h.

FizzAcceptorHandshakeHelper::LoggingCallback* wangle::DefaultToFizzPeekingCallback::loggingCallback_ {nullptr}
protected

Definition at line 161 of file FizzAcceptorHandshakeHelper.h.

std::shared_ptr<fizz::extensions::TokenBindingContext> wangle::DefaultToFizzPeekingCallback::tokenBindingContext_
protected

Definition at line 160 of file FizzAcceptorHandshakeHelper.h.


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