|
proxygen
|
Public Member Functions | |
| std::unique_ptr< IOBuf > | encode (int &data) override |
Public Member Functions inherited from wangle::MessageToByteEncoder< int > | |
| folly::Future< folly::Unit > | write (Context *ctx, intmsg) override |
Public Member Functions inherited from wangle::OutboundHandler< int, std::unique_ptr< folly::IOBuf > > | |
| ~OutboundHandler () override=default | |
| virtual folly::Future< folly::Unit > | writeException (Context *ctx, folly::exception_wrapper e) |
| virtual folly::Future< folly::Unit > | close (Context *ctx) |
Public Member Functions inherited from wangle::HandlerBase< OutboundHandlerContext< std::unique_ptr< folly::IOBuf > > > | |
| virtual | ~HandlerBase ()=default |
| virtual void | attachPipeline (OutboundHandlerContext< std::unique_ptr< folly::IOBuf > > *) |
| virtual void | detachPipeline (OutboundHandlerContext< std::unique_ptr< folly::IOBuf > > *) |
| OutboundHandlerContext< std::unique_ptr< folly::IOBuf > > * | getContext () |
Additional Inherited Members | |
Public Types inherited from wangle::MessageToByteEncoder< int > | |
| typedef OutboundHandler< int, std::unique_ptr< folly::IOBuf > >::Context | Context |
Public Types inherited from wangle::OutboundHandler< int, std::unique_ptr< folly::IOBuf > > | |
| typedef folly::Unit | rin |
| typedef folly::Unit | rout |
| typedef int | win |
| typedef std::unique_ptr< folly::IOBuf > | wout |
| typedef OutboundHandlerContext< std::unique_ptr< folly::IOBuf > > | Context |
Static Public Attributes inherited from wangle::OutboundHandler< int, std::unique_ptr< folly::IOBuf > > | |
| static const HandlerDir | dir |
Definition at line 26 of file ObservingHandlerTest.cpp.
|
inlineoverridevirtual |
Implements wangle::MessageToByteEncoder< int >.
Definition at line 28 of file ObservingHandlerTest.cpp.
References folly::IOBuf::copyBuffer().