|
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 |
Public Member Functions inherited from wangle::InboundHandler< std::unique_ptr< folly::IOBuf > > | |
| ~InboundHandler () override=default | |
| virtual void | readEOF (Context *ctx) |
| virtual void | transportActive (Context *ctx) |
| virtual void | transportInactive (Context *ctx) |
Public Member Functions inherited from wangle::HandlerBase< InboundHandlerContext< std::unique_ptr< folly::IOBuf > > > | |
| 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 | |
Public Types inherited from wangle::InboundHandler< std::unique_ptr< folly::IOBuf > > | |
| 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 Public Attributes inherited from wangle::InboundHandler< std::unique_ptr< folly::IOBuf > > | |
| 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().