proxygen
proxygen::ExMessageHandler Class Reference

#include <ExMessageHandler.h>

Inheritance diagram for proxygen::ExMessageHandler:
proxygen::RequestHandler

Public Member Functions

virtual void onUpgrade (proxygen::UpgradeProtocol) noexceptoverride
 
virtual ExMessageHandlergetExHandler () noexceptoverride
 
- Public Member Functions inherited from proxygen::RequestHandler
virtual void setResponseHandler (ResponseHandler *handler) noexcept
 
virtual void onRequest (std::unique_ptr< HTTPMessage > headers) noexcept=0
 
virtual void onBody (std::unique_ptr< folly::IOBuf > body) noexcept=0
 
virtual void onEOM () noexcept=0
 
virtual void requestComplete () noexcept=0
 
virtual void onError (ProxygenError err) noexcept=0
 
virtual void onEgressPaused () noexcept
 
virtual void onEgressResumed () noexcept
 
virtual bool canHandleExpect () noexcept
 
virtual ResponseHandlergetDownstream () noexcept
 
virtual ~RequestHandler ()
 

Additional Inherited Members

- Protected Attributes inherited from proxygen::RequestHandler
ResponseHandlerdownstream_ {nullptr}
 

Detailed Description

Interface to be implemented to handle EX messages from client.

Definition at line 19 of file ExMessageHandler.h.

Member Function Documentation

virtual ExMessageHandler* proxygen::ExMessageHandler::getExHandler ( )
inlineoverridevirtualnoexcept

Implement in control stream handler to support incoming child EX streams.

Reimplemented from proxygen::RequestHandler.

Definition at line 26 of file ExMessageHandler.h.

26  {
27  LOG(FATAL) << "getExHandler can't be called on ExMessageHandler";
28  }
virtual void proxygen::ExMessageHandler::onUpgrade ( proxygen::UpgradeProtocol  prot)
inlineoverridevirtualnoexcept

Invoked when the session has been upgraded to a different protocol

Implements proxygen::RequestHandler.

Definition at line 22 of file ExMessageHandler.h.

22  {
23  LOG(FATAL) << "ExMessageHandler doesn't support upgrade";
24  }

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