proxygen
|
Public Member Functions | |
Callback (ZeroCopyTestAsyncSocket *parent) | |
void | connectSuccess () noexceptoverride |
void | connectErr (const folly::AsyncSocketException &ex) noexceptoverride |
void | getReadBuffer (void **bufReturn, size_t *lenReturn) override |
void | readDataAvailable (size_t len) noexceptoverride |
void | readEOF () noexceptoverride |
void | readErr (const folly::AsyncSocketException &ex) noexceptoverride |
Public Member Functions inherited from folly::AsyncSocket::ConnectCallback | |
virtual | ~ConnectCallback ()=default |
Private Attributes | |
ZeroCopyTestAsyncSocket * | parent_ {nullptr} |
Definition at line 96 of file ZeroCopy.h.
|
inlineexplicit |
Definition at line 99 of file ZeroCopy.h.
|
inlineoverridevirtualnoexcept |
connectErr() will be invoked if the connection attempt fails.
ex | An exception describing the error that occurred. |
Implements folly::AsyncSocket::ConnectCallback.
Definition at line 106 of file ZeroCopy.h.
References folly::ZeroCopyTestAsyncSocket::onDataFinish(), and parent_.
|
inlineoverridevirtualnoexcept |
connectSuccess() will be invoked when the connection has been successfully established.
Implements folly::AsyncSocket::ConnectCallback.
Definition at line 101 of file ZeroCopy.h.
References folly::ZeroCopyTestAsyncSocket::onConnected(), parent_, and folly::ZeroCopyTestAsyncSocket::sock_.
|
inlineoverride |
Definition at line 111 of file ZeroCopy.h.
References folly::ZeroCopyTestAsyncSocket::getReadBuffer(), and parent_.
|
inlineoverridenoexcept |
Definition at line 115 of file ZeroCopy.h.
References parent_, and folly::ZeroCopyTestAsyncSocket::readDataAvailable().
|
inlineoverridenoexcept |
Definition at line 119 of file ZeroCopy.h.
References folly::ZeroCopyTestAsyncSocket::onDataFinish(), and parent_.
|
inlineoverridenoexcept |
Definition at line 123 of file ZeroCopy.h.
References folly::ZeroCopyTestAsyncSocket::onDataFinish(), and parent_.
|
private |
Definition at line 128 of file ZeroCopy.h.
Referenced by connectErr(), connectSuccess(), getReadBuffer(), readDataAvailable(), readEOF(), and readErr().