proxygen
|
#include <Service.h>
Public Member Functions | |
virtual folly::Future< Resp > | operator() (Req request)=0 |
virtual | ~Service ()=default |
virtual folly::Future< folly::Unit > | close () |
virtual bool | isAvailable () |
A Service is an asynchronous function from Request to Future<Response>. It is the basic unit of the RPC interface.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in BonkMultiplexClientDispatcher, wangle::ServiceFilter< ReqA, RespA, ReqB, RespB >, wangle::ServiceFilter< int, std::string, std::string, int >, wangle::ServiceFilter< int, int, std::string, std::string >, wangle::ServiceFilter< Bonk, Xtruct >, wangle::ServiceFilter< Req, Resp >, wangle::ServiceFilter< std::string, std::string >, wangle::ClientDispatcherBase< Pipeline, Req, Resp >, wangle::ClientDispatcherBase< SerializePipeline, Bonk, Xtruct >, wangle::ClientDispatcherBase< wangle::Pipeline, folly::Req, Resp >, and wangle::CloseOnReleaseFilter< Req, Resp >.
Definition at line 38 of file Service.h.
Referenced by wangle::FactoryToService< Pipeline, Req, Resp >::operator()().
|
inlinevirtual |
Reimplemented in wangle::ServiceFilter< ReqA, RespA, ReqB, RespB >, wangle::ServiceFilter< int, std::string, std::string, int >, wangle::ServiceFilter< int, int, std::string, std::string >, wangle::ServiceFilter< Bonk, Xtruct >, wangle::ServiceFilter< Req, Resp >, and wangle::ServiceFilter< std::string, std::string >.
|
pure virtual |
Implemented in wangle::ChangeTypeFilter, wangle::IntToStringFilter, wangle::AppendFilter, wangle::FactoryToService< Pipeline, Req, Resp >, wangle::PipelinedClientDispatcher< Pipeline, Req, Resp >, wangle::ClientServiceFactory< Pipeline, Req, Resp >::ClientService, wangle::SerialClientDispatcher< Pipeline, Req, Resp >, wangle::SerialClientDispatcher< wangle::Pipeline, folly::Req, Resp >, BonkMultiplexClientDispatcher, wangle::ExpiringFilter< Req, Resp >, wangle::EchoIntService, wangle::EchoService, RpcService, wangle::ExecutorFilter< Req, Resp >, wangle::ExecutorFilter< Bonk, Xtruct >, and wangle::CloseOnReleaseFilter< Req, Resp >.