proxygen
|
#include <BroadcastPool.h>
Public Types | |
using | UniquePtr = std::unique_ptr< BroadcastManager, folly::DelayedDestruction::Destructor > |
Public Member Functions | |
BroadcastManager (BroadcastPool< T, R, P > *broadcastPool, const R &routingData) | |
~BroadcastManager () override | |
folly::Future< BroadcastHandler< T, R > * > | getHandler () |
void | deletePipeline (PipelineBase *pipeline) override |
Public Member Functions inherited from wangle::PipelineManager | |
virtual | ~PipelineManager ()=default |
virtual void | refreshTimeout () |
Public Member Functions inherited from folly::DelayedDestruction | |
virtual void | destroy () |
bool | getDestroyPending () const |
Public Member Functions inherited from folly::DelayedDestructionBase | |
virtual | ~DelayedDestructionBase ()=default |
Private Member Functions | |
void | handleConnectError (const std::exception &ex) noexcept |
Private Attributes | |
BroadcastPool< T, R, P > * | broadcastPool_ {nullptr} |
R | routingData_ |
std::unique_ptr< BaseClientBootstrap< P > > | client_ |
bool | connectStarted_ {false} |
bool | deletingBroadcast_ {false} |
folly::SharedPromise< BroadcastHandler< T, R > * > | sharedPromise_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::DelayedDestruction | |
~DelayedDestruction () override=default | |
DelayedDestruction () | |
Protected Member Functions inherited from folly::DelayedDestructionBase | |
DelayedDestructionBase () | |
uint32_t | getDestructorGuardCount () const |
Definition at line 52 of file BroadcastPool.h.
using wangle::BroadcastPool< T, R, P >::BroadcastManager::UniquePtr = std::unique_ptr< BroadcastManager, folly::DelayedDestruction::Destructor> |
Definition at line 56 of file BroadcastPool.h.
|
inline |
Definition at line 58 of file BroadcastPool.h.
Referenced by wangle::BroadcastPool< T, R, P >::getHandler().
|
inlineoverride |
Definition at line 67 of file BroadcastPool.h.
References folly::pushmi::__adl::noexcept().
|
overridevirtual |
Implements wangle::PipelineManager.
Definition at line 77 of file BroadcastPool-inl.h.
References wangle::BroadcastPool< T, R, P >::BroadcastManager::broadcastPool_, wangle::BroadcastPool< T, R, P >::BroadcastManager::client_, wangle::BroadcastPool< T, R, P >::BroadcastManager::deletingBroadcast_, and wangle::BroadcastPool< T, R, P >::BroadcastManager::routingData_.
folly::Future< BroadcastHandler< T, R > * > wangle::BroadcastPool< T, R, P >::BroadcastManager::getHandler | ( | ) |
Definition at line 22 of file BroadcastPool-inl.h.
References wangle::BroadcastPool< T, R, P >::BroadcastManager::broadcastPool_, wangle::BroadcastPool< T, R, P >::BroadcastManager::client_, wangle::BroadcastPool< T, R, P >::BroadcastManager::connectStarted_, wangle::BroadcastPool< T, R, P >::BroadcastManager::deletingBroadcast_, wangle::BroadcastPool< T, R, P >::BroadcastManager::handleConnectError(), handler(), folly::InlineExecutor::instance(), wangle::BroadcastPool< T, R, P >::BroadcastManager::routingData_, wangle::PipelineBase::setPipelineManager(), and wangle::BroadcastPool< T, R, P >::BroadcastManager::sharedPromise_.
|
privatenoexcept |
Definition at line 85 of file BroadcastPool-inl.h.
References wangle::BroadcastPool< T, R, P >::BroadcastManager::broadcastPool_, folly::gen::move, wangle::BroadcastPool< T, R, P >::BroadcastManager::routingData_, and wangle::BroadcastPool< T, R, P >::BroadcastManager::sharedPromise_.
Referenced by wangle::BroadcastPool< T, R, P >::BroadcastManager::getHandler().
|
private |
|
private |
Definition at line 84 of file BroadcastPool.h.
Referenced by wangle::BroadcastPool< T, R, P >::BroadcastManager::deletePipeline(), and wangle::BroadcastPool< T, R, P >::BroadcastManager::getHandler().
|
private |
Definition at line 86 of file BroadcastPool.h.
Referenced by wangle::BroadcastPool< T, R, P >::BroadcastManager::getHandler().
|
private |
Definition at line 87 of file BroadcastPool.h.
Referenced by wangle::BroadcastPool< T, R, P >::BroadcastManager::deletePipeline(), and wangle::BroadcastPool< T, R, P >::BroadcastManager::getHandler().
|
private |
|
private |
Definition at line 88 of file BroadcastPool.h.
Referenced by wangle::BroadcastPool< T, R, P >::BroadcastManager::getHandler(), and wangle::BroadcastPool< T, R, P >::BroadcastManager::handleConnectError().