proxygen
|
#include <Handler.h>
Public Types | |
typedef folly::Unit | rin |
typedef folly::Unit | rout |
typedef Win | win |
typedef Wout | wout |
typedef OutboundHandlerContext< Wout > | Context |
Public Member Functions | |
~OutboundHandler () override=default | |
virtual folly::Future< folly::Unit > | write (Context *ctx, Win msg)=0 |
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< Wout > > | |
virtual | ~HandlerBase ()=default |
virtual void | attachPipeline (OutboundHandlerContext< Wout > *) |
virtual void | detachPipeline (OutboundHandlerContext< Wout > *) |
OutboundHandlerContext< Wout > * | getContext () |
Static Public Attributes | |
static const HandlerDir | dir = HandlerDir::OUT |
typedef OutboundHandlerContext<Wout> wangle::OutboundHandler< Win, Wout >::Context |
typedef folly::Unit wangle::OutboundHandler< Win, Wout >::rin |
typedef folly::Unit wangle::OutboundHandler< Win, Wout >::rout |
typedef Win wangle::OutboundHandler< Win, Wout >::win |
typedef Wout wangle::OutboundHandler< Win, Wout >::wout |
|
overridedefault |
|
inlinevirtual |
Reimplemented in wangle::OutputBufferingHandler, and wangle::EventBaseHandler.
|
pure virtual |
|
inlinevirtual |
|
static |