proxygen
|
#include <ServerBootstrap.h>
Public Attributes | |
ServerSocketConfig | socketConfig |
Private Attributes | |
std::shared_ptr< folly::IOThreadPoolExecutor > | acceptor_group_ |
std::shared_ptr< folly::IOThreadPoolExecutor > | io_group_ |
std::shared_ptr< ServerWorkerPool > | workerFactory_ |
std::shared_ptr< std::vector< std::shared_ptr< folly::AsyncSocketBase > > > | sockets_ |
std::shared_ptr< AcceptorFactory > | acceptorFactory_ |
std::shared_ptr< PipelineFactory< Pipeline > > | childPipelineFactory_ |
std::shared_ptr< AcceptPipelineFactory > | acceptPipelineFactory_ |
std::shared_ptr< ServerSocketFactory > | socketFactory_ |
ServerSocketConfig | accConfig_ |
bool | reusePort_ {false} |
std::unique_ptr< folly::Baton<> > | stopBaton_ |
bool | stopped_ {false} |
Definition at line 42 of file ServerBootstrap.h.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 49 of file ServerBootstrap.h.
|
inline |
|
inline |
Definition at line 163 of file ServerBootstrap.h.
Referenced by main(), and wangle::TEST().
|
inline |
Definition at line 194 of file ServerBootstrap.h.
|
inline |
Definition at line 204 of file ServerBootstrap.h.
|
inline |
Definition at line 211 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::bind().
|
inline |
Definition at line 64 of file ServerBootstrap.h.
|
inline |
Definition at line 81 of file ServerBootstrap.h.
|
inline |
Definition at line 91 of file ServerBootstrap.h.
Referenced by main(), and wangle::TEST().
|
inline |
Definition at line 317 of file ServerBootstrap.h.
|
inline |
Definition at line 312 of file ServerBootstrap.h.
|
inline |
Definition at line 308 of file ServerBootstrap.h.
Referenced by wangle::TEST().
|
inline |
Definition at line 103 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::bind(), wangle::ServerBootstrap< DefaultPipeline >::bindImpl(), wangle::ServerBootstrap< DefaultPipeline >::group(), and main().
|
inline |
Definition at line 117 of file ServerBootstrap.h.
|
inline |
Definition at line 288 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::~ServerBootstrap().
|
inline |
Definition at line 59 of file ServerBootstrap.h.
Referenced by main().
|
inline |
Definition at line 326 of file ServerBootstrap.h.
|
inline |
Definition at line 274 of file ServerBootstrap.h.
Referenced by wangle::TEST(), and wangle::ServerBootstrap< DefaultPipeline >::~ServerBootstrap().
|
inline |
Definition at line 297 of file ServerBootstrap.h.
Referenced by main().
|
private |
Definition at line 346 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::acceptorConfig(), wangle::ServerBootstrap< DefaultPipeline >::bind(), and wangle::ServerBootstrap< DefaultPipeline >::group().
|
private |
|
private |
Definition at line 339 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::childHandler(), and wangle::ServerBootstrap< DefaultPipeline >::group().
|
private |
Definition at line 341 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::group(), and wangle::ServerBootstrap< DefaultPipeline >::pipeline().
|
private |
Definition at line 340 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::childPipeline(), and wangle::ServerBootstrap< DefaultPipeline >::group().
|
private |
Definition at line 333 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::getIOGroup(), wangle::ServerBootstrap< DefaultPipeline >::group(), and wangle::ServerBootstrap< DefaultPipeline >::join().
|
private |
Definition at line 348 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::bindImpl(), and wangle::ServerBootstrap< DefaultPipeline >::setReusePort().
ServerSocketConfig wangle::ServerBootstrap< Pipeline >::socketConfig |
Definition at line 324 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::bind(), and wangle::ServerBootstrap< DefaultPipeline >::bindImpl().
|
private |
Definition at line 343 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::bind(), wangle::ServerBootstrap< DefaultPipeline >::bindImpl(), wangle::ServerBootstrap< DefaultPipeline >::channelFactory(), and wangle::ServerBootstrap< DefaultPipeline >::group().
|
private |
Definition at line 336 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::bind(), wangle::ServerBootstrap< DefaultPipeline >::bindImpl(), wangle::ServerBootstrap< DefaultPipeline >::getSockets(), wangle::ServerBootstrap< DefaultPipeline >::group(), and wangle::ServerBootstrap< DefaultPipeline >::stop().
|
private |
Definition at line 350 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::stop(), and wangle::ServerBootstrap< DefaultPipeline >::waitForStop().
|
private |
Definition at line 352 of file ServerBootstrap.h.
Referenced by wangle::ServerBootstrap< DefaultPipeline >::stop(), and wangle::ServerBootstrap< DefaultPipeline >::waitForStop().
|
private |