proxygen
|
#include <HandlerContext-inl.h>
Public Types | |
typedef H::rin | Rin |
typedef H::rout | Rout |
typedef H::win | Win |
typedef H::wout | Wout |
Public Member Functions | |
InboundContextImpl (std::weak_ptr< PipelineBase > pipeline, std::shared_ptr< H > handler) | |
InboundContextImpl () | |
~InboundContextImpl () override=default | |
void | fireRead (Rout msg) override |
void | fireReadEOF () override |
void | fireReadException (folly::exception_wrapper e) override |
void | fireTransportActive () override |
void | fireTransportInactive () override |
PipelineBase * | getPipeline () override |
std::shared_ptr< PipelineBase > | getPipelineShared () override |
void | read (Rin msg) override |
void | readEOF () override |
void | readException (folly::exception_wrapper e) override |
void | transportActive () override |
void | transportInactive () override |
Public Member Functions inherited from wangle::InboundHandlerContext< H::rout > | |
virtual | ~InboundHandlerContext ()=default |
std::shared_ptr< folly::AsyncTransport > | getTransport () |
Public Member Functions inherited from wangle::InboundLink< H::rin > | |
virtual | ~InboundLink ()=default |
Public Member Functions inherited from wangle::ContextImplBase< H, InboundHandlerContext< H::rout > > | |
~ContextImplBase () override=default | |
H * | getHandler () |
void | initialize (std::weak_ptr< PipelineBase > pipeline, std::shared_ptr< H > handler) |
void | attachPipeline () override |
void | detachPipeline () override |
void | setNextIn (PipelineContext *ctx) override |
void | setNextOut (PipelineContext *ctx) override |
HandlerDir | getDirection () override |
Public Member Functions inherited from wangle::PipelineContext | |
virtual | ~PipelineContext ()=default |
template<class H , class HandlerContext > | |
void | attachContext (H *handler, HandlerContext *ctx) |
template<class H , class HandlerContext > | |
void | detachContext (H *handler, HandlerContext *) |
Static Public Attributes | |
static const HandlerDir | dir = HandlerDir::IN |
Additional Inherited Members | |
Protected Attributes inherited from wangle::ContextImplBase< H, InboundHandlerContext< H::rout > > | |
InboundHandlerContext< H::rout > * | impl_ |
std::weak_ptr< PipelineBase > | pipelineWeak_ |
PipelineBase * | pipelineRaw_ |
std::shared_ptr< H > | handler_ |
InboundLink< typename H::rout > * | nextIn_ |
OutboundLink< typename H::wout > * | nextOut_ |
Definition at line 323 of file HandlerContext-inl.h.
typedef H::rin wangle::InboundContextImpl< H >::Rin |
Definition at line 328 of file HandlerContext-inl.h.
typedef H::rout wangle::InboundContextImpl< H >::Rout |
Definition at line 329 of file HandlerContext-inl.h.
typedef H::win wangle::InboundContextImpl< H >::Win |
Definition at line 330 of file HandlerContext-inl.h.
typedef H::wout wangle::InboundContextImpl< H >::Wout |
Definition at line 331 of file HandlerContext-inl.h.
|
inlineexplicit |
Definition at line 334 of file HandlerContext-inl.h.
References folly::gen::move.
|
inline |
Definition at line 342 of file HandlerContext-inl.h.
|
overridedefault |
|
inlineoverridevirtual |
Implements wangle::InboundHandlerContext< H::rout >.
Definition at line 349 of file HandlerContext-inl.h.
References folly::gen::guard(), and folly::WARNING.
|
inlineoverridevirtual |
Implements wangle::InboundHandlerContext< H::rout >.
Definition at line 358 of file HandlerContext-inl.h.
References folly::gen::guard(), and folly::WARNING.
|
inlineoverridevirtual |
Implements wangle::InboundHandlerContext< H::rout >.
Definition at line 367 of file HandlerContext-inl.h.
References folly::gen::guard(), folly::gen::move, and folly::WARNING.
|
inlineoverridevirtual |
Implements wangle::InboundHandlerContext< H::rout >.
Definition at line 376 of file HandlerContext-inl.h.
References folly::gen::guard().
|
inlineoverridevirtual |
Implements wangle::InboundHandlerContext< H::rout >.
Definition at line 383 of file HandlerContext-inl.h.
References folly::gen::guard().
|
inlineoverridevirtual |
Implements wangle::InboundHandlerContext< H::rout >.
Definition at line 390 of file HandlerContext-inl.h.
|
inlineoverridevirtual |
Implements wangle::InboundHandlerContext< H::rout >.
Definition at line 394 of file HandlerContext-inl.h.
|
inlineoverridevirtual |
Implements wangle::InboundLink< H::rin >.
Definition at line 399 of file HandlerContext-inl.h.
References folly::gen::guard().
|
inlineoverridevirtual |
Implements wangle::InboundLink< H::rin >.
Definition at line 404 of file HandlerContext-inl.h.
References folly::gen::guard().
|
inlineoverridevirtual |
Implements wangle::InboundLink< H::rin >.
Definition at line 409 of file HandlerContext-inl.h.
References folly::gen::guard(), and folly::gen::move.
|
inlineoverridevirtual |
Implements wangle::InboundLink< H::rin >.
Definition at line 414 of file HandlerContext-inl.h.
References folly::gen::guard().
|
inlineoverridevirtual |
Implements wangle::InboundLink< H::rin >.
Definition at line 419 of file HandlerContext-inl.h.
References folly::gen::guard().
|
static |
Definition at line 332 of file HandlerContext-inl.h.