strip Channel from all class names
[folly.git] / folly / wangle / codec / StringCodec.h
index 0f8c96d4402e431ff259d8ddd710b8738abfb80a..226a3677098e3298ef737c4186754241cea3c17f 100644 (file)
 
 #pragma once
 
-#include <folly/wangle/channel/ChannelHandler.h>
+#include <folly/wangle/channel/Handler.h>
 
 namespace folly { namespace wangle {
 
 /*
  * StringCodec converts a pipeline from IOBufs to std::strings.
  */
-class StringCodec : public ChannelHandler<IOBufQueue&, std::string,
-                                          std::string, std::unique_ptr<IOBuf>> {
+class StringCodec : public Handler<IOBufQueue&, std::string,
+                                   std::string, std::unique_ptr<IOBuf>> {
  public:
-  typedef typename ChannelHandler<
+  typedef typename Handler<
    IOBufQueue&, std::string,
    std::string, std::unique_ptr<IOBuf>>::Context Context;