proxygen
|
#include <AsyncFizzBase.h>
Public Member Functions | |
HandshakeTimeout (AsyncFizzBase &transport, folly::EventBase *eventBase) | |
~HandshakeTimeout () override=default | |
void | timeoutExpired () noexceptoverride |
Public Member Functions inherited from folly::AsyncTimeout | |
AsyncTimeout (TimeoutManager *timeoutManager) | |
AsyncTimeout (EventBase *eventBase) | |
AsyncTimeout (TimeoutManager *timeoutManager, InternalEnum internal) | |
AsyncTimeout (EventBase *eventBase, InternalEnum internal) | |
AsyncTimeout () | |
virtual | ~AsyncTimeout () |
bool | scheduleTimeout (uint32_t milliseconds) |
bool | scheduleTimeout (TimeoutManager::timeout_type timeout) |
void | cancelTimeout () |
bool | isScheduled () const |
void | attachTimeoutManager (TimeoutManager *timeoutManager, InternalEnum internal=InternalEnum::NORMAL) |
void | attachEventBase (EventBase *eventBase, InternalEnum internal=InternalEnum::NORMAL) |
void | detachTimeoutManager () |
void | detachEventBase () |
const TimeoutManager * | getTimeoutManager () |
struct event * | getEvent () |
Private Attributes | |
AsyncFizzBase & | transport_ |
Additional Inherited Members | |
Public Types inherited from folly::AsyncTimeout | |
typedef TimeoutManager::InternalEnum | InternalEnum |
Static Public Member Functions inherited from folly::AsyncTimeout | |
template<typename TCallback > | |
static std::unique_ptr< AsyncTimeout > | make (TimeoutManager &manager, TCallback &&callback) |
template<typename TCallback > | |
static std::unique_ptr< AsyncTimeout > | schedule (TimeoutManager::timeout_type timeout, TimeoutManager &manager, TCallback &&callback) |
Definition at line 33 of file AsyncFizzBase.h.
|
inline |
Definition at line 35 of file AsyncFizzBase.h.
References ~HandshakeTimeout().
|
overridedefault |
Referenced by HandshakeTimeout().
|
inlineoverridevirtualnoexcept |
timeoutExpired() is invoked when the timeout period has expired.
Implements folly::AsyncTimeout.
Definition at line 40 of file AsyncFizzBase.h.
References fizz::AsyncFizzBase::handshakeTimeoutExpired(), and transport_.
|
private |
Definition at line 45 of file AsyncFizzBase.h.
Referenced by fizz::AsyncFizzBase::attachEventBase(), fizz::AsyncFizzBase::detachEventBase(), fizz::AsyncFizzBase::isDetachable(), and timeoutExpired().