proxygen
wangle::ServiceFactory< Pipeline, Req, Resp > Class Template Referenceabstract

#include <Service.h>

Inheritance diagram for wangle::ServiceFactory< Pipeline, Req, Resp >:
wangle::ServiceFactoryFilter< Pipeline, Req, Resp > wangle::ClientServiceFactory< Pipeline, Req, Resp > wangle::ConstFactory< Pipeline, Req, Resp > wangle::ConnectionCountFilter< Pipeline, Req, Resp >

Public Member Functions

virtual folly::Future< std::shared_ptr< Service< Req, Resp > > > operator() (std::shared_ptr< ClientBootstrap< Pipeline >> client)=0
 
virtual ~ServiceFactory ()=default
 

Detailed Description

template<typename Pipeline, typename Req, typename Resp>
class wangle::ServiceFactory< Pipeline, Req, Resp >

A factory that creates services, given a client. This lets you make RPC calls on the Service interface over a client's pipeline.

Clients can be reused after you are done using the service.

Definition at line 92 of file Service.h.

Constructor & Destructor Documentation

template<typename Pipeline, typename Req, typename Resp>
virtual wangle::ServiceFactory< Pipeline, Req, Resp >::~ServiceFactory ( )
virtualdefault

Member Function Documentation

template<typename Pipeline, typename Req, typename Resp>
virtual folly::Future<std::shared_ptr<Service<Req, Resp> > > wangle::ServiceFactory< Pipeline, Req, Resp >::operator() ( std::shared_ptr< ClientBootstrap< Pipeline >>  client)
pure virtual

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