proxygen
|
Public Member Functions | |
void | timeoutExpired () noexceptoverride |
void | describe (std::ostream &) const override |
bool | isBusy () const override |
void | notifyPendingShutdown () override |
void | closeWhenIdle () override |
void | dropConnection () override |
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 |
Additional Inherited Members | |
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 |
Definition at line 18 of file AcceptorTest.cpp.
|
inlineoverridevirtual |
Instruct the connection that it should shutdown as soon as it is safe. This is called after notifyPendingShutdown().
Implements wangle::ManagedConnection.
Definition at line 24 of file AcceptorTest.cpp.
|
inlineoverridevirtual |
Print a human-readable description of the connection.
os | Destination stream. |
Implements wangle::ManagedConnection.
Definition at line 21 of file AcceptorTest.cpp.
|
inlineoverridevirtual |
Forcibly drop a connection.
If a request is in progress, this should cause the connection to be closed with a reset.
Implements wangle::ManagedConnection.
Definition at line 25 of file AcceptorTest.cpp.
|
inlineoverridevirtual |
Dump the state of the connection to the log
Implements wangle::ManagedConnection.
Definition at line 28 of file AcceptorTest.cpp.
|
inlineoverridevirtual |
Check whether the connection has any requests outstanding.
Implements wangle::ManagedConnection.
Definition at line 22 of file AcceptorTest.cpp.
|
inlineoverridevirtual |
Notify the connection that a shutdown is pending. This method will be called at the beginning of graceful shutdown.
Implements wangle::ManagedConnection.
Definition at line 23 of file AcceptorTest.cpp.
|
inlineoverridevirtualnoexcept |
timeoutExpired() is invoked when the timeout has expired.
Implements wangle::ManagedConnection.
Definition at line 20 of file AcceptorTest.cpp.