|
void | read (Context *, Resp in) override |
|
folly::Future< Resp > | operator() (Req arg) override |
|
| ~ClientDispatcherBase () override |
|
void | setPipeline (Pipeline *pipeline) |
|
folly::Future< folly::Unit > | close () override |
|
folly::Future< folly::Unit > | close (Context *ctx) override |
|
Public Member Functions inherited from wangle::HandlerAdapter< Resp, Req > |
void | read (Context *ctx, Respmsg) override |
|
folly::Future< folly::Unit > | write (Context *ctx, Reqmsg) override |
|
Public Member Functions inherited from wangle::Handler< Resp, Resp, Req, Req > |
| ~Handler () override=default |
|
virtual void | readEOF (Context *ctx) |
|
virtual void | readException (Context *ctx, folly::exception_wrapper e) |
|
virtual void | transportActive (Context *ctx) |
|
virtual void | transportInactive (Context *ctx) |
|
virtual folly::Future< folly::Unit > | writeException (Context *ctx, folly::exception_wrapper e) |
|
virtual folly::Future< folly::Unit > | close (Context *ctx) |
|
Public Member Functions inherited from wangle::HandlerBase< HandlerContext< Resp, Req > > |
virtual | ~HandlerBase ()=default |
|
virtual void | attachPipeline (HandlerContext< Resp, Req > *) |
|
virtual void | detachPipeline (HandlerContext< Resp, Req > *) |
|
HandlerContext< Resp, Req > * | getContext () |
|
virtual | ~Service ()=default |
|
virtual bool | isAvailable () |
|
template<typename Pipeline, typename Req, typename Resp = Req>
class wangle::SerialClientDispatcher< Pipeline, Req, Resp >
Dispatch a request, satisfying Promise p
with the response; the returned Future is satisfied when the response is received: only one request is allowed at a time.
Definition at line 69 of file ClientDispatcher.h.