proxygen
|
#include <AsyncSSLSocketTest.h>
Public Member Functions | |
SendMsgFlagsCallback () | |
void | resetFlags (int flags) |
int | getFlagsImpl (folly::WriteFlags flags, int) noexceptoverride |
Public Member Functions inherited from folly::SendMsgParamsCallbackBase | |
SendMsgParamsCallbackBase () | |
void | setSocket (const std::shared_ptr< AsyncSSLSocket > &socket) |
void | getAncillaryData (folly::WriteFlags flags, void *data) noexceptoverride |
uint32_t | getAncillaryDataSize (folly::WriteFlags flags) noexceptoverride |
Public Member Functions inherited from folly::AsyncSocket::SendMsgParamsCallback | |
virtual | ~SendMsgParamsCallback ()=default |
int | getFlags (folly::WriteFlags flags, bool zeroCopyEnabled) noexcept |
Public Attributes | |
int | flags_ {0} |
Public Attributes inherited from folly::SendMsgParamsCallbackBase | |
std::shared_ptr< AsyncSSLSocket > | socket_ |
folly::AsyncSocket::SendMsgParamsCallback * | oldCallback_ {nullptr} |
Additional Inherited Members | |
Static Public Attributes inherited from folly::AsyncSocket::SendMsgParamsCallback | |
static const size_t | maxAncillaryDataSize {0x5000} |
Definition at line 79 of file AsyncSSLSocketTest.h.
|
inline |
Definition at line 81 of file AsyncSSLSocketTest.h.
|
inlineoverridevirtualnoexcept |
getFlagsImpl() will be invoked by getFlags(folly::WriteFlags flags) method to retrieve the flags to be passed to sendmsg() system call. SendMsgParamsCallback::getFlags() is calling this method, and returns its results directly to the caller in AsyncSocket. Classes inheriting from SendMsgParamsCallback are welcome to override this method to force SendMsgParamsCallback to return its own set of flags.
flags | Write flags requested for the given write operation |
defaultflags | A set of message flags returned by getDefaultFlags() method for the given "flags" mask. |
Reimplemented from folly::SendMsgParamsCallbackBase.
Definition at line 87 of file AsyncSSLSocketTest.h.
References folly::AsyncSocket::SendMsgParamsCallback::getFlags(), and folly::SendMsgParamsCallbackBase::oldCallback_.
|
inline |
int folly::SendMsgFlagsCallback::flags_ {0} |
Definition at line 97 of file AsyncSSLSocketTest.h.