Definition at line 93 of file HTTPServer.cpp.
proxygen::HandlerCallbacks::HandlerCallbacks |
( |
std::shared_ptr< HTTPServerOptions > |
options | ) |
|
|
inlineexplicit |
Definition at line 95 of file HTTPServer.cpp.
std::shared_ptr< HTTPServerOptions > options_
void proxygen::HandlerCallbacks::threadStarted |
( |
ThreadPoolExecutor::ThreadHandle * |
h | ) |
|
|
inlineoverride |
Definition at line 97 of file HTTPServer.cpp.
References folly::getEventBase(), and proxygen::HTTPServer::options_.
99 CHECK(evb) <<
"Invariant violated - started thread must have an EventBase";
100 evb->runInEventBaseThread([=](){
101 for (
auto& factory:
options_->handlerFactories) {
102 factory->onServerStart(evb);
EventBase * getEventBase()
std::shared_ptr< HTTPServerOptions > options_
void proxygen::HandlerCallbacks::threadStopped |
( |
ThreadPoolExecutor::ThreadHandle * |
h | ) |
|
|
inlineoverride |
The documentation for this class was generated from the following file: