proxygen
|
#include <AcceptRoutingHandler.h>
Private Member Functions | |
void | populateAcceptors () |
virtual DefaultPipeline::Ptr | newRoutingPipeline () |
Private Attributes | |
ServerBootstrap< Pipeline > * | server_ |
std::shared_ptr< RoutingDataHandlerFactory< R > > | routingHandlerFactory_ |
std::shared_ptr< RoutingDataPipelineFactory< Pipeline, R > > | childPipelineFactory_ |
std::vector< Acceptor * > | acceptors_ |
std::map< uint64_t, DefaultPipeline::Ptr > | routingPipelines_ |
uint64_t | nextConnId_ {0} |
Additional Inherited Members | |
Public Types inherited from wangle::InboundHandler< AcceptPipelineType > | |
typedef AcceptPipelineType | rin |
typedef AcceptPipelineType | rout |
typedef folly::Unit | win |
typedef folly::Unit | wout |
typedef InboundHandlerContext< AcceptPipelineType > | Context |
Static Public Attributes inherited from wangle::InboundHandler< AcceptPipelineType > | |
static const HandlerDir | dir |
Definition at line 42 of file AcceptRoutingHandler.h.
|
inline |
Definition at line 45 of file AcceptRoutingHandler.h.
|
inline |
Definition at line 65 of file AcceptRoutingHandler.h.
|
inlineprivatevirtual |
Reimplemented in wangle::MockAcceptRoutingHandler.
Definition at line 71 of file AcceptRoutingHandler.h.
|
overridevirtual |
Implements wangle::RoutingDataHandler< R >::Callback.
Definition at line 122 of file AcceptRoutingHandler-inl.h.
References folly::exception_wrapper::what().
Referenced by wangle::AcceptRoutingHandler< DefaultPipeline, char >::AcceptRoutingHandler().
|
override |
Definition at line 74 of file AcceptRoutingHandler-inl.h.
References wangle::RoutingDataHandler< R >::RoutingData::bufQueue, folly::gen::move, wangle::RoutingDataHandler< R >::RoutingData::routingData, folly::netops::socket(), and uint64_t.
Referenced by wangle::AcceptRoutingHandler< DefaultPipeline, char >::AcceptRoutingHandler().
|
private |
Definition at line 138 of file AcceptRoutingHandler-inl.h.
Referenced by wangle::AcceptRoutingHandler< DefaultPipeline, char >::getRoutingPipelineCount().
|
overridevirtual |
Implements wangle::InboundHandler< AcceptPipelineType >.
Definition at line 21 of file AcceptRoutingHandler-inl.h.
References proxygen::localAddr, folly::gen::move, proxygen::peerAddr, folly::netops::socket(), and uint64_t.
Referenced by wangle::AcceptRoutingHandler< DefaultPipeline, char >::AcceptRoutingHandler().
|
overridevirtual |
Reimplemented from wangle::InboundHandler< AcceptPipelineType >.
Definition at line 62 of file AcceptRoutingHandler-inl.h.
Referenced by wangle::AcceptRoutingHandler< DefaultPipeline, char >::AcceptRoutingHandler().
|
overridevirtual |
Reimplemented from wangle::InboundHandler< AcceptPipelineType >.
Definition at line 67 of file AcceptRoutingHandler-inl.h.
Referenced by wangle::AcceptRoutingHandler< DefaultPipeline, char >::AcceptRoutingHandler().
|
private |
Definition at line 80 of file AcceptRoutingHandler.h.
|
private |
Definition at line 78 of file AcceptRoutingHandler.h.
Referenced by wangle::AcceptRoutingPipelineFactory< Pipeline, R >::newPipeline().
|
private |
Definition at line 82 of file AcceptRoutingHandler.h.
|
private |
Definition at line 76 of file AcceptRoutingHandler.h.
Referenced by wangle::AcceptRoutingPipelineFactory< Pipeline, R >::newPipeline().
|
private |
Definition at line 81 of file AcceptRoutingHandler.h.
Referenced by wangle::AcceptRoutingHandler< DefaultPipeline, char >::getRoutingPipelineCount().
|
private |
Definition at line 75 of file AcceptRoutingHandler.h.
Referenced by wangle::AcceptRoutingPipelineFactory< Pipeline, R >::newPipeline().