proxygen
|
#include <AsyncSocketTest.h>
Public Member Functions | |
ConnCallback () | |
void | connectSuccess () noexceptoverride |
void | connectErr (const folly::AsyncSocketException &ex) noexceptoverride |
Public Member Functions inherited from folly::AsyncSocket::ConnectCallback | |
virtual | ~ConnectCallback ()=default |
Public Attributes | |
StateEnum | state |
folly::AsyncSocketException | exception |
VoidCallback | successCallback |
VoidCallback | errorCallback |
Definition at line 28 of file AsyncSocketTest.h.
|
inline |
Definition at line 30 of file AsyncSocketTest.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 41 of file AsyncSocketTest.h.
References errorCallback, exception, and STATE_FAILED.
|
inlineoverridevirtualnoexcept |
connectSuccess() will be invoked when the connection has been successfully established.
Implements folly::AsyncSocket::ConnectCallback.
Definition at line 34 of file AsyncSocketTest.h.
References STATE_SUCCEEDED, and successCallback.
VoidCallback ConnCallback::errorCallback |
Definition at line 52 of file AsyncSocketTest.h.
Referenced by connectErr(), and WriteCallback::writeErr().
folly::AsyncSocketException ConnCallback::exception |
Definition at line 50 of file AsyncSocketTest.h.
Referenced by connectErr(), ReadCallback::readErr(), TEST(), and WriteCallback::writeErr().
StateEnum ConnCallback::state |
Definition at line 49 of file AsyncSocketTest.h.
Referenced by TEST(), folly::TEST(), TEST_P(), and testConnectOptWrite().
VoidCallback ConnCallback::successCallback |
Definition at line 51 of file AsyncSocketTest.h.
Referenced by connectSuccess(), testConnectOptWrite(), and WriteCallback::writeSuccess().