proxygen
proxygen::HTTPSession::WriteTimeout Class Reference

#include <HTTPSession.h>

Inheritance diagram for proxygen::HTTPSession::WriteTimeout:
folly::HHWheelTimer::Callback

Public Member Functions

 WriteTimeout (HTTPSession *session)
 
 ~WriteTimeout () 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

HTTPSessionsession_
 

Additional Inherited Members

- Protected Member Functions inherited from folly::HHWheelTimer::Callback
virtual std::chrono::steady_clock::time_point getCurTime ()
 

Detailed Description

Definition at line 671 of file HTTPSession.h.

Constructor & Destructor Documentation

proxygen::HTTPSession::WriteTimeout::WriteTimeout ( HTTPSession session)
inlineexplicit

Definition at line 674 of file HTTPSession.h.

674 : session_(session) {}
proxygen::HTTPSession::WriteTimeout::~WriteTimeout ( )
inlineoverride

Definition at line 675 of file HTTPSession.h.

675 {}

Member Function Documentation

void proxygen::HTTPSession::WriteTimeout::timeoutExpired ( )
inlineoverridevirtualnoexcept

timeoutExpired() is invoked when the timeout has expired.

Implements folly::HHWheelTimer::Callback.

Definition at line 677 of file HTTPSession.h.

References session_, and proxygen::HTTPSession::writeTimeoutExpired().

Member Data Documentation


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