use inbound/outbound handlers in a few more places
[folly.git] / folly / wangle / service / ClientDispatcher.h
index b05aa9a26373831f6a77a54b5e99b06920e8e1a8..820d6478cea6a8639118e01c1d548b835a1a3782 100644 (file)
@@ -26,11 +26,11 @@ namespace folly { namespace wangle {
  * only one request is allowed at a time.
  */
 template <typename Pipeline, typename Req, typename Resp = Req>
-class SerialClientDispatcher : public HandlerAdapter<Req, Resp>
+class SerialClientDispatcher : public InboundHandler<Req>
                              , public Service<Req, Resp> {
  public:
 
-  typedef typename HandlerAdapter<Req, Resp>::Context Context;
+  typedef typename InboundHandler<Req>::Context Context;
 
   void setPipeline(Pipeline* pipeline) {
     pipeline_ = pipeline;