#include <AsyncSSLSocketTest.h>
Definition at line 1477 of file AsyncSSLSocketTest.h.
folly::SSLAcceptErrorRunner::SSLAcceptErrorRunner |
( |
EventBase * |
evb | ) |
|
|
inlineexplicit |
folly::SSLAcceptErrorRunner::~SSLAcceptErrorRunner |
( |
| ) |
|
|
overridedefault |
void folly::SSLAcceptErrorRunner::run |
( |
Function< int()> |
acceptFunc, |
|
|
Function< void(int)> |
finallyFunc |
|
) |
| const |
|
inlineoverridevirtual |
This is expected to run the first function and provide its return value to the second function. This can be used to run the SSL_accept in different contexts.
Reimplemented from folly::SSLAcceptEvbRunner.
Definition at line 1482 of file AsyncSSLSocketTest.h.
References evb_, and folly::gen::move.
1485 [finallyFunc =
std::move(finallyFunc)]()
mutable { finallyFunc(-1); });
constexpr detail::Map< Move > move
void runInLoop(LoopCallback *callback, bool thisIteration=false)
The documentation for this class was generated from the following file: