proxygen
|
Public Member Functions | |
DrainTimeout (HTTPSession *session) | |
~DrainTimeout () override | |
void | timeoutExpired () noexceptoverride |
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 () |
Private Attributes | |
HTTPSession * | session_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::HHWheelTimer::Callback | |
virtual std::chrono::steady_clock::time_point | getCurTime () |
Definition at line 1022 of file HTTPSession.h.
|
inlineexplicit |
Definition at line 1024 of file HTTPSession.h.
|
inlineoverride |
Definition at line 1025 of file HTTPSession.h.
|
inlineoverridevirtualnoexcept |
timeoutExpired() is invoked when the timeout has expired.
Implements folly::HHWheelTimer::Callback.
Definition at line 1027 of file HTTPSession.h.
References proxygen::HTTPSession::closeWhenIdle(), and proxygen::HTTPSession::WriteTimeout::session_.
|
private |
Definition at line 1031 of file HTTPSession.h.