proxygen
wangle::StaticPipeline< R, W > Class Template Reference

#include <StaticPipeline.h>

Inheritance diagram for wangle::StaticPipeline< R, W >:
wangle::Pipeline< R, W > wangle::PipelineBase

Protected Member Functions

 StaticPipeline (bool)
 
void initialize ()
 
- Protected Member Functions inherited from wangle::Pipeline< R, W >
 Pipeline ()
 
 Pipeline (bool isStatic)
 
- Protected Member Functions inherited from wangle::PipelineBase
template<class Context >
void addContextFront (Context *ctx)
 
void detachHandlers ()
 

Additional Inherited Members

- Public Types inherited from wangle::Pipeline< R, W >
using Ptr = std::shared_ptr< Pipeline >
 
- Public Member Functions inherited from wangle::Pipeline< R, W >
 ~Pipeline () override
 
template<class T = R>
std::enable_if<!std::is_same< T, folly::Unit >::value >::type read (R msg)
 
template<class T = R>
std::enable_if<!std::is_same< T, folly::Unit >::value >::type readEOF ()
 
template<class T = R>
std::enable_if<!std::is_same< T, folly::Unit >::value >::type readException (folly::exception_wrapper e)
 
template<class T = R>
std::enable_if<!std::is_same< T, folly::Unit >::value >::type transportActive ()
 
template<class T = R>
std::enable_if<!std::is_same< T, folly::Unit >::value >::type transportInactive ()
 
template<class T = W>
std::enable_if<!std::is_same< T, folly::Unit >::value, folly::Future< folly::Unit > >::type write (W msg)
 
template<class T = W>
std::enable_if<!std::is_same< T, folly::Unit >::value, folly::Future< folly::Unit > >::type writeException (folly::exception_wrapper e)
 
template<class T = W>
std::enable_if<!std::is_same< T, folly::Unit >::value, folly::Future< folly::Unit > >::type close ()
 
void finalize () override
 
- Public Member Functions inherited from wangle::PipelineBase
virtual ~PipelineBase ()=default
 
void setPipelineManager (PipelineManager *manager)
 
PipelineManagergetPipelineManager ()
 
void deletePipeline ()
 
void setTransport (std::shared_ptr< folly::AsyncTransport > transport)
 
std::shared_ptr< folly::AsyncTransportgetTransport ()
 
void setWriteFlags (folly::WriteFlags flags)
 
folly::WriteFlags getWriteFlags ()
 
void setReadBufferSettings (uint64_t minAvailable, uint64_t allocationSize)
 
std::pair< uint64_t, uint64_tgetReadBufferSettings ()
 
void setTransportInfo (std::shared_ptr< TransportInfo > tInfo)
 
std::shared_ptr< TransportInfogetTransportInfo ()
 
template<class H >
PipelineBaseaddBack (std::shared_ptr< H > handler)
 
template<class H >
PipelineBaseaddBack (H &&handler)
 
template<class H >
PipelineBaseaddBack (H *handler)
 
template<class H >
PipelineBaseaddFront (std::shared_ptr< H > handler)
 
template<class H >
PipelineBaseaddFront (H &&handler)
 
template<class H >
PipelineBaseaddFront (H *handler)
 
template<class H >
PipelineBaseremove (H *handler)
 
template<class H >
PipelineBaseremove ()
 
PipelineBaseremoveFront ()
 
PipelineBaseremoveBack ()
 
template<class H >
H * getHandler (int i)
 
template<class H >
H * getHandler ()
 
template<class H >
ContextType< H >::typegetContext (int i)
 
template<class H >
ContextType< H >::typegetContext ()
 
template<class H >
bool setOwner (H *handler)
 
size_t numHandlers () const
 
- Static Public Member Functions inherited from wangle::Pipeline< R, W >
static Ptr create ()
 
- Protected Attributes inherited from wangle::PipelineBase
std::vector< std::shared_ptr< PipelineContext > > ctxs_
 
std::vector< PipelineContext * > inCtxs_
 
std::vector< PipelineContext * > outCtxs_
 

Detailed Description

template<class R, class W>
class wangle::StaticPipeline< R, W >

Definition at line 50 of file StaticPipeline.h.

Constructor & Destructor Documentation

template<class R , class W >
wangle::StaticPipeline< R, W >::StaticPipeline ( bool  )
inlineexplicitprotected

Definition at line 52 of file StaticPipeline.h.

52 : Pipeline<R, W>(true) {}

Member Function Documentation

template<class R , class W >
void wangle::StaticPipeline< R, W >::initialize ( )
inlineprotected

Definition at line 53 of file StaticPipeline.h.

References wangle::Pipeline< R, W >::finalize().

53  {
55  }
void finalize() override
Definition: Pipeline-inl.h:267

The documentation for this class was generated from the following file: