/*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public:
using DecoratedAsyncTransportWrapper<T>::DecoratedAsyncTransportWrapper;
- virtual void write(
+ void write(
folly::AsyncTransportWrapper::WriteCallback* callback,
const void* buf,
size_t bytes,
writeChain(callback, std::move(ioBuf), flags);
}
- virtual void writev(
+ void writev(
folly::AsyncTransportWrapper::WriteCallback* callback,
const iovec* vec,
size_t count,
* It only makes sense to use this class if you override writeChain, so force
* derived classes to do that.
*/
- virtual void writeChain(
+ void writeChain(
folly::AsyncTransportWrapper::WriteCallback* callback,
std::unique_ptr<folly::IOBuf>&& buf,
folly::WriteFlags flags = folly::WriteFlags::NONE) override = 0;