18 typedef GenericFilter<
37 bool callbacks =
true):
38 TransportFilter(calls, callbacks) {}
42 void getReadBuffer(
void** bufReturn,
size_t* lenReturn)
override;
46 void readEOF() noexcept
override;
54 folly::AsyncTransportWrapper::ReadCallback* callback)
override;
60 const void* buf,
size_t bytes,
69 std::unique_ptr<folly::IOBuf>&& iob,
72 void close()
override;
82 bool good()
const override;
88 bool error()
const override;
117 folly::AsyncTransportWrapper,
void detachEventBase() override
void shutdownWriteNow() override
void getPeerAddress(folly::SocketAddress *address) const override
FilterChain< folly::AsyncTransportWrapper, folly::AsyncTransportWrapper::ReadCallback, PassThroughTransportFilter,&folly::AsyncTransportWrapper::setReadCB, false > TransportFilterChain
void attachEventBase(folly::EventBase *eventBase) override
size_t getRawBytesWritten() const override
void closeWithReset() override
PassThroughTransportFilter(bool calls=true, bool callbacks=true)
void setSendTimeout(uint32_t milliseconds) override
void setEorTracking(bool track) override
requires E e noexcept(noexcept(s.error(std::move(e))))
bool error() const override
void writev(folly::AsyncTransportWrapper::WriteCallback *callback, const iovec *vec, size_t count, folly::WriteFlags flags) override
void setReadCB(ReadCallback *callback) override=0
void write(folly::AsyncTransportWrapper::WriteCallback *callback, const void *buf, size_t bytes, folly::WriteFlags flags) override
void shutdownWrite() override
folly::EventBase * getEventBase() const override
uint32_t getSendTimeout() const override
size_t getRawBytesReceived() const override
bool connecting() const override
void readErr(const folly::AsyncSocketException &ex) noexceptoverride
size_t getAppBytesReceived() const override
void setReadCB(folly::AsyncTransportWrapper::ReadCallback *callback) override
GenericFilter< folly::AsyncTransportWrapper, folly::AsyncTransportWrapper::ReadCallback,&folly::AsyncTransportWrapper::setReadCB, true, folly::AsyncTransportWrapper::Destructor > TransportFilter
bool readable() const override
void readDataAvailable(size_t len) noexceptoverride
void writeChain(folly::AsyncTransportWrapper::WriteCallback *callback, std::unique_ptr< folly::IOBuf > &&iob, folly::WriteFlags flags) override
bool good() const override
size_t getAppBytesWritten() const override
void getLocalAddress(folly::SocketAddress *address) const override
AsyncReader::ReadCallback ReadCallback
folly::AsyncTransportWrapper::ReadCallback * getReadCallback() const override
void getReadBuffer(void **bufReturn, size_t *lenReturn) override
bool isDetachable() const override
void readEOF() noexceptoverride