|
proxygen
|
#include <ConnectionManager.h>
Public Member Functions | |
| virtual | ~Callback ()=default |
| virtual void | onEmpty (const ConnectionManager &cm)=0 |
| virtual void | onConnectionAdded (const ManagedConnection *conn)=0 |
| virtual void | onConnectionRemoved (const ManagedConnection *conn)=0 |
Interface for an optional observer that's notified about various events in a ConnectionManager
Definition at line 42 of file ConnectionManager.h.
|
virtualdefault |
|
pure virtual |
Invoked when a connection is added to the ConnectionManager.
Implemented in wangle::Acceptor, and wangle::ServerAcceptor< Pipeline >.
|
pure virtual |
Invoked when a connection is removed from the ConnectionManager.
Implemented in wangle::Acceptor, and wangle::ServerAcceptor< Pipeline >.
|
pure virtual |
Invoked when the number of connections managed by the ConnectionManager changes from nonzero to zero.
Implemented in wangle::Acceptor.