proxygen
wangle::Service< Req, Resp > Class Template Referenceabstract

#include <Service.h>

Inheritance diagram for wangle::Service< Req, Resp >:
wangle::ServiceFilter< Req, Resp > wangle::ClientDispatcherBase< Pipeline, Req, Resp > wangle::ClientServiceFactory< Pipeline, Req, Resp >::ClientService wangle::FactoryToService< Pipeline, Req, Resp > wangle::CloseOnReleaseFilter< Req, Resp > wangle::ExecutorFilter< Req, Resp > wangle::ExpiringFilter< Req, Resp > wangle::PipelinedClientDispatcher< Pipeline, Req, Resp > wangle::SerialClientDispatcher< Pipeline, Req, Resp >

Public Member Functions

virtual folly::Future< Resp > operator() (Req request)=0
 
virtual ~Service ()=default
 
virtual folly::Future< folly::Unitclose ()
 
virtual bool isAvailable ()
 

Detailed Description

template<typename Req, typename Resp = Req>
class wangle::Service< Req, Resp >

A Service is an asynchronous function from Request to Future<Response>. It is the basic unit of the RPC interface.

Definition at line 34 of file Service.h.

Constructor & Destructor Documentation

template<typename Req, typename Resp = Req>
virtual wangle::Service< Req, Resp >::~Service ( )
virtualdefault

Member Function Documentation


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