proxygen
|
#include <AsyncSSLSocketTest.h>
Public Member Functions | |
EmptyReadCallback () | |
void | readErr (const AsyncSocketException &ex) noexceptoverride |
void | readEOF () noexceptoverride |
![]() | |
ReadCallback (WriteCallbackBase *wcb) | |
~ReadCallback () override | |
void | getReadBuffer (void **bufReturn, size_t *lenReturn) override |
void | readDataAvailable (size_t len) noexceptoverride |
![]() | |
ReadCallbackBase (WriteCallbackBase *wcb) | |
~ReadCallbackBase () override | |
void | setSocket (const std::shared_ptr< AsyncSSLSocket > &socket) |
void | setState (StateEnum s) |
![]() | |
virtual bool | isBufferMovable () noexcept |
virtual size_t | maxBufferSize () const |
virtual void | readBufferAvailable (std::unique_ptr< IOBuf >) noexcept |
Public Attributes | |
std::shared_ptr< AsyncSocket > | tcpSocket_ |
![]() | |
std::vector< Buffer > | buffers |
Buffer | currentBuffer |
![]() | |
std::shared_ptr< AsyncSSLSocket > | socket_ |
WriteCallbackBase * | wcb_ |
StateEnum | state |
Definition at line 455 of file AsyncSSLSocketTest.h.
|
inlineexplicit |
Definition at line 457 of file AsyncSSLSocketTest.h.
|
inlineoverridevirtualnoexcept |
readEOF() will be invoked when the transport is closed.
The read callback will be automatically uninstalled immediately before readEOF() is invoked.
Reimplemented from folly::ReadCallbackBase.
Definition at line 467 of file AsyncSSLSocketTest.h.
References folly::STATE_SUCCEEDED.
|
inlineoverridevirtualnoexcept |
readError() will be invoked if an error occurs reading from the transport.
The read callback will be automatically uninstalled immediately before readError() is invoked.
ex | An exception describing the error that occurred. |
Reimplemented from folly::ReadCallbackBase.
Definition at line 459 of file AsyncSSLSocketTest.h.
References folly::STATE_FAILED.
std::shared_ptr<AsyncSocket> folly::EmptyReadCallback::tcpSocket_ |
Definition at line 475 of file AsyncSSLSocketTest.h.
Referenced by folly::TEST().