51 (*it)->detachPipeline();
53 const auto dir = (*it)->getDirection();
66 return ctxs_.erase(it);
71 throw std::invalid_argument(
"No handlers in pipeline");
79 throw std::invalid_argument(
"No handlers in pipeline");
86 for (
auto& ctx :
ctxs_) {
88 ctx->detachPipeline();
std::vector< PipelineContext * > outCtxs_
std::shared_ptr< PipelineContext > owner_
PipelineBase & removeFront()
std::vector< std::shared_ptr< PipelineContext > > ctxs_
std::shared_ptr< TransportInfo > transportInfo_
void setWriteFlags(folly::WriteFlags flags)
ContextIterator removeAt(const ContextIterator &it)
PipelineBase & removeBack()
folly::WriteFlags writeFlags_
std::pair< uint64_t, uint64_t > getReadBufferSettings()
size_t numHandlers() const
void setReadBufferSettings(uint64_t minAvailable, uint64_t allocationSize)
std::vector< PipelineContext * > inCtxs_
std::vector< std::shared_ptr< PipelineContext > >::iterator ContextIterator
std::pair< uint64_t, uint64_t > readBufferSettings_
void setTransportInfo(std::shared_ptr< TransportInfo > tInfo)
folly::WriteFlags getWriteFlags()
std::shared_ptr< TransportInfo > getTransportInfo()