|
| MultiplexServerDispatcher (Service< Req, Resp > *service) |
|
void | read (Context *ctx, Req in) override |
|
Public Member Functions inherited from wangle::HandlerAdapter< Req, Resp > |
void | read (Context *ctx, Reqmsg) override |
|
folly::Future< folly::Unit > | write (Context *ctx, Respmsg) override |
|
Public Member Functions inherited from wangle::Handler< Req, Req, Resp, Resp > |
| ~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< Req, Resp > > |
virtual | ~HandlerBase ()=default |
|
virtual void | attachPipeline (HandlerContext< Req, Resp > *) |
|
virtual void | detachPipeline (HandlerContext< Req, Resp > *) |
|
HandlerContext< Req, Resp > * | getContext () |
|
template<typename Req, typename Resp = Req>
class wangle::MultiplexServerDispatcher< Req, Resp >
Dispatch requests from pipeline as they come in. Concurrent requests are assumed to have sequence id's that are taken care of by the pipeline. Unlike a multiplexed client dispatcher, a multiplexed server dispatcher needs no state, and the sequence id's can just be copied from the request to the response in the pipeline.
Definition at line 94 of file ServerDispatcher.h.