proxygen
|
#include <Mocks.h>
Public Types | |
typedef ByteToMessageDecoder< T >::Context | Context |
Public Types inherited from wangle::ByteToMessageDecoder< T > | |
typedef InboundHandler< folly::IOBufQueue &, T >::Context | Context |
Public Types inherited from wangle::InboundHandler< folly::IOBufQueue &, T > | |
typedef folly::IOBufQueue & | rin |
typedef T | rout |
typedef folly::Unit | win |
typedef folly::Unit | wout |
typedef InboundHandlerContext< T > | Context |
Public Member Functions | |
MOCK_METHOD4_T (decode, bool(Context *, folly::IOBufQueue &, T &, size_t &)) | |
Public Member Functions inherited from wangle::ByteToMessageDecoder< T > | |
virtual bool | decode (Context *ctx, folly::IOBufQueue &buf, T &result, size_t &)=0 |
void | transportActive (Context *ctx) override |
void | transportInactive (Context *ctx) override |
void | read (Context *ctx, folly::IOBufQueue &q) override |
Public Member Functions inherited from wangle::InboundHandler< folly::IOBufQueue &, T > | |
~InboundHandler () override=default | |
virtual void | readEOF (Context *ctx) |
virtual void | readException (Context *ctx, folly::exception_wrapper e) |
Public Member Functions inherited from wangle::HandlerBase< InboundHandlerContext< T > > | |
virtual | ~HandlerBase ()=default |
virtual void | attachPipeline (InboundHandlerContext< T > *) |
virtual void | detachPipeline (InboundHandlerContext< T > *) |
InboundHandlerContext< T > * | getContext () |
Additional Inherited Members | |
Static Public Attributes inherited from wangle::InboundHandler< folly::IOBufQueue &, T > | |
static const HandlerDir | dir |
typedef ByteToMessageDecoder<T>::Context wangle::MockByteToMessageDecoder< T >::Context |
wangle::MockByteToMessageDecoder< T >::MOCK_METHOD4_T | ( | decode | , |
bool(Context *, folly::IOBufQueue &, T &, size_t &) | |||
) |