proxygen
|
#include <CodecTestUtils.h>
Public Member Functions | |
FrameTester (folly::Function< void(std::unique_ptr< folly::IOBuf >)> test) | |
void | read (Context *, std::unique_ptr< folly::IOBuf > buf) override |
void | readException (Context *, folly::exception_wrapper) override |
![]() | |
~InboundHandler () override=default | |
virtual void | readEOF (Context *ctx) |
virtual void | transportActive (Context *ctx) |
virtual void | transportInactive (Context *ctx) |
![]() | |
virtual | ~HandlerBase ()=default |
virtual void | attachPipeline (InboundHandlerContext< std::unique_ptr< folly::IOBuf > > *) |
virtual void | detachPipeline (InboundHandlerContext< std::unique_ptr< folly::IOBuf > > *) |
InboundHandlerContext< std::unique_ptr< folly::IOBuf > > * | getContext () |
Private Attributes | |
folly::Function< void(std::unique_ptr< folly::IOBuf >)> | test_ |
Additional Inherited Members | |
![]() | |
typedef std::unique_ptr< folly::IOBuf > | rin |
typedef std::unique_ptr< folly::IOBuf > | rout |
typedef folly::Unit | win |
typedef folly::Unit | wout |
typedef InboundHandlerContext< std::unique_ptr< folly::IOBuf > > | Context |
![]() | |
static const HandlerDir | dir |
Definition at line 28 of file CodecTestUtils.h.
|
inlineexplicit |
Definition at line 31 of file CodecTestUtils.h.
|
inlineoverridevirtual |
Implements wangle::InboundHandler< std::unique_ptr< folly::IOBuf > >.
Definition at line 35 of file CodecTestUtils.h.
References folly::gen::move, and test_.
|
inlineoverridevirtual |
Reimplemented from wangle::InboundHandler< std::unique_ptr< folly::IOBuf > >.
Definition at line 39 of file CodecTestUtils.h.
References test_.
|
private |
Definition at line 44 of file CodecTestUtils.h.
Referenced by read(), and readException().