proxygen
wangle::SimpleConnectionCounterForTest Class Reference
Inheritance diagram for wangle::SimpleConnectionCounterForTest:
wangle::SimpleConnectionCounter wangle::IConnectionCounter

Public Member Functions

void setNumConnections (const uint64_t numConnections)
 
- Public Member Functions inherited from wangle::SimpleConnectionCounter
uint64_t getNumConnections () const override
 
uint64_t getMaxConnections () const override
 
void setMaxConnections (uint64_t maxConnections)
 
void onConnectionAdded () override
 
void onConnectionRemoved () override
 
 ~SimpleConnectionCounter () override=default
 
- Public Member Functions inherited from wangle::IConnectionCounter
virtual ~IConnectionCounter ()=default
 

Additional Inherited Members

- Protected Attributes inherited from wangle::SimpleConnectionCounter
uint64_t maxConnections_ {0}
 
uint64_t numConnections_ {0}
 

Detailed Description

Definition at line 25 of file AcceptorTest.cpp.

Member Function Documentation

void wangle::SimpleConnectionCounterForTest::setNumConnections ( const uint64_t  numConnections)
inline

Definition at line 27 of file AcceptorTest.cpp.

27  {
28  numConnections_ = numConnections;
29  }

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