proxygen
|
Public Member Functions | |
ConnectClient ()=default | |
Future< bool > | getFuture () |
void | connect (const folly::SocketAddress &addr) |
void | connectSuccess () noexceptoverride |
void | connectErr (const AsyncSocketException &) noexceptoverride |
void | setCtx (std::shared_ptr< SSLContext > ctx) |
![]() | |
virtual | ~ConnectCallback ()=default |
Private Attributes | |
EvbAndContext | t1_ |
folly::Promise< bool > | promise_ |
std::shared_ptr< AsyncSSLSocket > | socket_ |
Definition at line 194 of file AsyncSSLSocketTest2.cpp.
|
default |
|
inline |
Definition at line 202 of file AsyncSSLSocketTest2.cpp.
References socket_.
|
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 214 of file AsyncSSLSocketTest2.cpp.
References promise_, and socket_.
|
inlineoverridevirtualnoexcept |
connectSuccess() will be invoked when the connection has been successfully established.
Implements folly::AsyncSocket::ConnectCallback.
Definition at line 209 of file AsyncSSLSocketTest2.cpp.
References promise_, and socket_.
|
inline |
Definition at line 198 of file AsyncSSLSocketTest2.cpp.
References promise_.
|
inline |
Definition at line 219 of file AsyncSSLSocketTest2.cpp.
|
private |
Definition at line 226 of file AsyncSSLSocketTest2.cpp.
|
private |
Definition at line 227 of file AsyncSSLSocketTest2.cpp.
|
private |
Definition at line 224 of file AsyncSSLSocketTest2.cpp.