proxygen
|
#include <HandlerContext.h>
Public Member Functions | |
virtual | ~HandlerContext ()=default |
virtual void | fireRead (In msg)=0 |
virtual void | fireReadEOF ()=0 |
virtual void | fireReadException (folly::exception_wrapper e)=0 |
virtual void | fireTransportActive ()=0 |
virtual void | fireTransportInactive ()=0 |
virtual folly::Future< folly::Unit > | fireWrite (Out msg)=0 |
virtual folly::Future< folly::Unit > | fireWriteException (folly::exception_wrapper e)=0 |
virtual folly::Future< folly::Unit > | fireClose ()=0 |
virtual PipelineBase * | getPipeline ()=0 |
virtual std::shared_ptr< PipelineBase > | getPipelineShared ()=0 |
std::shared_ptr< folly::AsyncTransport > | getTransport () |
virtual void | setWriteFlags (folly::WriteFlags flags)=0 |
virtual folly::WriteFlags | getWriteFlags ()=0 |
virtual void | setReadBufferSettings (uint64_t minAvailable, uint64_t allocationSize)=0 |
virtual std::pair< uint64_t, uint64_t > | getReadBufferSettings ()=0 |
Definition at line 28 of file HandlerContext.h.
|
virtualdefault |
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::Handler< Resp, Resp, folly::Req, folly::Req >::close().
|
pure virtual |
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::Handler< Resp, Resp, folly::Req, folly::Req >::readEOF(), and wangle::AsyncSocketHandler::readEOF().
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::AsyncSocketHandler::readErr(), and wangle::Handler< Resp, Resp, folly::Req, folly::Req >::readException().
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::Handler< Resp, Resp, folly::Req, folly::Req >::transportActive().
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::Handler< Resp, Resp, folly::Req, folly::Req >::transportInactive().
|
pure virtual |
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::Handler< Resp, Resp, folly::Req, folly::Req >::writeException().
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::HandlerContext< thrift::test::Bonk, std::unique_ptr< folly::IOBuf > >::getTransport(), wangle::InboundHandlerContext< M >::getTransport(), wangle::OutboundHandlerContext< Wout >::getTransport(), wangle::AsyncSocketHandler::refreshTimeout(), and TEST_F().
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by FileServerHandler::read().
|
pure virtual |
|
inline |
Definition at line 45 of file HandlerContext.h.
Referenced by FileServerHandler::read(), TelnetHandler::transportActive(), and FileServerHandler::transportActive().
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::HandlerContext< thrift::test::Bonk, std::unique_ptr< folly::IOBuf > >::getTransport().
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::HandlerContext< thrift::test::Bonk, std::unique_ptr< folly::IOBuf > >::getTransport().
|
pure virtual |
Implemented in wangle::ContextImpl< H >.
Referenced by wangle::HandlerContext< thrift::test::Bonk, std::unique_ptr< folly::IOBuf > >::getTransport().