proxygen
wangle::MockByteToMessageDecoder< T > Class Template Reference

#include <Mocks.h>

Inheritance diagram for wangle::MockByteToMessageDecoder< T >:
wangle::ByteToMessageDecoder< T > wangle::InboundHandler< folly::IOBufQueue &, T > wangle::HandlerBase< InboundHandlerContext< T > >

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::IOBufQueuerin
 
typedef T rout
 
typedef folly::Unit win
 
typedef folly::Unit wout
 
typedef InboundHandlerContext< TContext
 

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
 

Detailed Description

template<typename T>
class wangle::MockByteToMessageDecoder< T >

Definition at line 42 of file Mocks.h.

Member Typedef Documentation

Definition at line 44 of file Mocks.h.

Member Function Documentation

template<typename T>
wangle::MockByteToMessageDecoder< T >::MOCK_METHOD4_T ( decode  ,
bool(Context *, folly::IOBufQueue &, T &, size_t &)   
)

The documentation for this class was generated from the following file: