proxygen
|
#include <AsyncSSLSocketTest.h>
Public Member Functions | |
SendMsgDataCallback () | |
void | resetData (std::vector< char > &&data) |
void | getAncillaryData (folly::WriteFlags flags, void *data) noexceptoverride |
uint32_t | getAncillaryDataSize (folly::WriteFlags flags) noexceptoverride |
![]() | |
SendMsgFlagsCallback () | |
void | resetFlags (int flags) |
int | getFlagsImpl (folly::WriteFlags flags, int) noexceptoverride |
![]() | |
SendMsgParamsCallbackBase () | |
void | setSocket (const std::shared_ptr< AsyncSSLSocket > &socket) |
![]() | |
virtual | ~SendMsgParamsCallback ()=default |
int | getFlags (folly::WriteFlags flags, bool zeroCopyEnabled) noexcept |
Public Attributes | |
std::vector< char > | ancillaryData_ |
![]() | |
int | flags_ {0} |
![]() | |
std::shared_ptr< AsyncSSLSocket > | socket_ |
folly::AsyncSocket::SendMsgParamsCallback * | oldCallback_ {nullptr} |
Additional Inherited Members | |
![]() | |
static const size_t | maxAncillaryDataSize {0x5000} |
Definition at line 100 of file AsyncSSLSocketTest.h.
|
inline |
Definition at line 102 of file AsyncSSLSocketTest.h.
|
inlineoverridevirtualnoexcept |
getAncillaryData() will be invoked to initialize ancillary data buffer referred by "msg_control" field of msghdr structure passed to sendmsg() system call. The function assumes that the size of buffer is not smaller than the value returned by getAncillaryDataSize() method for the same combination of flags.
flags | Write flags requested for the given write operation |
data | Pointer to ancillary data buffer to initialize. |
Reimplemented from folly::SendMsgParamsCallbackBase.
Definition at line 108 of file AsyncSSLSocketTest.h.
References folly::data(), folly::AsyncSocket::SendMsgParamsCallback::getAncillaryData(), and folly::SendMsgParamsCallbackBase::oldCallback_.
|
inlineoverridevirtualnoexcept |
getAncillaryDataSize() will be invoked to retrieve the size of ancillary data buffer which should be passed to sendmsg() system call
flags | Write flags requested for the given write operation |
Reimplemented from folly::SendMsgParamsCallbackBase.
Definition at line 117 of file AsyncSSLSocketTest.h.
References folly::AsyncSocket::SendMsgParamsCallback::getAncillaryDataSize(), and folly::SendMsgParamsCallbackBase::oldCallback_.
|
inline |
Definition at line 104 of file AsyncSSLSocketTest.h.
References folly::data().
Referenced by folly::TEST().
std::vector<char> folly::SendMsgDataCallback::ancillaryData_ |
Definition at line 126 of file AsyncSSLSocketTest.h.