proxygen
proxygen::HTTPSession::DrainTimeout Class Reference
Inheritance diagram for proxygen::HTTPSession::DrainTimeout:
folly::HHWheelTimer::Callback

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

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 1022 of file HTTPSession.h.

Constructor & Destructor Documentation

proxygen::HTTPSession::DrainTimeout::DrainTimeout ( HTTPSession session)
inlineexplicit

Definition at line 1024 of file HTTPSession.h.

1024 : session_(session) {}
proxygen::HTTPSession::DrainTimeout::~DrainTimeout ( )
inlineoverride

Definition at line 1025 of file HTTPSession.h.

1025 {}

Member Function Documentation

void proxygen::HTTPSession::DrainTimeout::timeoutExpired ( )
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_.

1027  {
1029  }
void closeWhenIdle() override

Member Data Documentation

HTTPSession* proxygen::HTTPSession::DrainTimeout::session_
private

Definition at line 1031 of file HTTPSession.h.


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