proxygen
|
#include <PeekingAcceptorHandshakeHelper.h>
Public Member Functions | |
PeekingAcceptorHandshakeManager (Acceptor *acceptor, const folly::SocketAddress &clientAddr, std::chrono::steady_clock::time_point acceptTime, TransportInfo tinfo, const std::vector< PeekingCallbackPtr > &peekCallbacks, size_t numBytes) | |
Public Member Functions inherited from wangle::AcceptorHandshakeManager | |
AcceptorHandshakeManager (Acceptor *acceptor, const folly::SocketAddress &clientAddr, std::chrono::steady_clock::time_point acceptTime, TransportInfo tinfo) | |
~AcceptorHandshakeManager () override=default | |
virtual void | start (folly::AsyncSSLSocket::UniquePtr sock) noexcept |
void | timeoutExpired () noexceptoverride |
void | describe (std::ostream &os) const override |
bool | isBusy () const override |
void | notifyPendingShutdown () override |
void | closeWhenIdle () override |
void | dropConnection () override |
void | dropConnection (SSLErrorEnum reason) |
void | dumpConnectionState (uint8_t) override |
Public Member Functions inherited from wangle::ManagedConnection | |
ManagedConnection () | |
virtual std::chrono::milliseconds | getIdleTime () const |
void | fireNotifyPendingShutdown () |
void | fireCloseWhenIdle (bool force_to_close=false) |
virtual void | resetTimeout () |
void | resetTimeoutTo (std::chrono::milliseconds) |
virtual void | scheduleTimeout (folly::HHWheelTimer::Callback *callback, std::chrono::milliseconds timeout) |
ConnectionManager * | getConnectionManager () |
Public Member Functions inherited from folly::HHWheelTimer::Callback | |
Callback ()=default | |
virtual | ~Callback () |
virtual void | callbackCanceled () noexcept |
void | cancelTimeout () |
bool | isScheduled () const |
std::chrono::milliseconds | getTimeRemaining () |
Public Member Functions inherited from folly::DelayedDestruction | |
virtual void | destroy () |
bool | getDestroyPending () const |
Public Member Functions inherited from folly::DelayedDestructionBase | |
virtual | ~DelayedDestructionBase ()=default |
Public Member Functions inherited from wangle::AcceptorHandshakeHelper::Callback | |
virtual | ~Callback ()=default |
Protected Member Functions | |
void | startHelper (folly::AsyncSSLSocket::UniquePtr sock) override |
Protected Member Functions inherited from wangle::AcceptorHandshakeManager | |
void | connectionReady (folly::AsyncTransportWrapper::UniquePtr transport, std::string nextProtocol, SecureTransportType secureTransportType, folly::Optional< SSLErrorEnum > details) noexceptoverride |
void | connectionError (folly::AsyncTransportWrapper *transport, folly::exception_wrapper ex, folly::Optional< SSLErrorEnum > details) noexceptoverride |
std::chrono::milliseconds | timeSinceAcceptMs () const |
void | startHandshakeTimeout () |
Protected Member Functions inherited from wangle::ManagedConnection | |
~ManagedConnection () override | |
Protected Member Functions inherited from folly::HHWheelTimer::Callback | |
virtual std::chrono::steady_clock::time_point | getCurTime () |
Protected Member Functions inherited from folly::DelayedDestruction | |
~DelayedDestruction () override=default | |
DelayedDestruction () | |
Protected Member Functions inherited from folly::DelayedDestructionBase | |
DelayedDestructionBase () | |
uint32_t | getDestructorGuardCount () const |
Protected Attributes | |
const std::vector< PeekingCallbackPtr > & | peekCallbacks_ |
size_t | numBytes_ |
Protected Attributes inherited from wangle::AcceptorHandshakeManager | |
Acceptor * | acceptor_ |
folly::SocketAddress | clientAddr_ |
std::chrono::steady_clock::time_point | acceptTime_ |
TransportInfo | tinfo_ |
AcceptorHandshakeHelper::UniquePtr | helper_ |
Definition at line 140 of file PeekingAcceptorHandshakeHelper.h.
|
inline |
Definition at line 142 of file PeekingAcceptorHandshakeHelper.h.
|
inlineoverrideprotectedvirtual |
Implements wangle::AcceptorHandshakeManager.
Definition at line 158 of file PeekingAcceptorHandshakeHelper.h.
References wangle::PeekingAcceptorHandshakeHelper::acceptTime_, wangle::PeekingAcceptorHandshakeHelper::clientAddr_, wangle::PeekingAcceptorHandshakeHelper::helper_, folly::gen::move, wangle::PeekingAcceptorHandshakeHelper::numBytes_, wangle::PeekingAcceptorHandshakeHelper::peekCallbacks_, wangle::PeekingAcceptorHandshakeHelper::PeekingAcceptorHandshakeHelper(), and wangle::PeekingAcceptorHandshakeHelper::tinfo_.
|
protected |
Definition at line 169 of file PeekingAcceptorHandshakeHelper.h.
|
protected |
Definition at line 168 of file PeekingAcceptorHandshakeHelper.h.