proxygen
wangle::OutboundHandlerContext< Out > Class Template Referenceabstract

#include <HandlerContext.h>

Public Member Functions

virtual ~OutboundHandlerContext ()=default
 
virtual folly::Future< folly::UnitfireWrite (Out msg)=0
 
virtual folly::Future< folly::UnitfireWriteException (folly::exception_wrapper e)=0
 
virtual folly::Future< folly::UnitfireClose ()=0
 
virtual PipelineBasegetPipeline ()=0
 
virtual std::shared_ptr< PipelineBasegetPipelineShared ()=0
 
std::shared_ptr< folly::AsyncTransportgetTransport ()
 

Detailed Description

template<class Out>
class wangle::OutboundHandlerContext< Out >

Definition at line 91 of file HandlerContext.h.

Constructor & Destructor Documentation

template<class Out>
virtual wangle::OutboundHandlerContext< Out >::~OutboundHandlerContext ( )
virtualdefault

Member Function Documentation

template<class Out>
virtual PipelineBase* wangle::OutboundHandlerContext< Out >::getPipeline ( )
pure virtual
template<class Out>
virtual std::shared_ptr<PipelineBase> wangle::OutboundHandlerContext< Out >::getPipelineShared ( )
pure virtual
template<class Out>
std::shared_ptr<folly::AsyncTransport> wangle::OutboundHandlerContext< Out >::getTransport ( )
inline

Definition at line 102 of file HandlerContext.h.

Referenced by wangle::EventBaseHandler::close(), wangle::EventBaseHandler::write(), and wangle::OutputBufferingHandler::write().

102  {
103  return getPipeline()->getTransport();
104  }
virtual PipelineBase * getPipeline()=0
std::shared_ptr< folly::AsyncTransport > getTransport()
Definition: Pipeline.h:65

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