proxygen
|
#include <AsyncSocket.h>
Public Member Functions | |
WriteResult (ssize_t ret) | |
WriteResult (ssize_t ret, std::unique_ptr< const AsyncSocketException > e) | |
Public Attributes | |
ssize_t | writeReturn |
std::unique_ptr< const AsyncSocketException > | exception |
writeReturn is the total number of bytes written, or WRITE_ERROR on error. If no data has been written, 0 is returned. exception is a more specific exception that cause a write error. Not all writes have exceptions associated with them thus writeReturn should be checked to determine whether the operation resulted in an error.
Definition at line 857 of file AsyncSocket.h.
|
inlineexplicit |
Definition at line 858 of file AsyncSocket.h.
|
inline |
Definition at line 860 of file AsyncSocket.h.
std::unique_ptr<const AsyncSocketException> folly::AsyncSocket::WriteResult::exception |
Definition at line 864 of file AsyncSocket.h.
ssize_t folly::AsyncSocket::WriteResult::writeReturn |
Definition at line 863 of file AsyncSocket.h.