proxygen
|
#include <AsyncSocket.h>
Public Member Functions | |
ReadResult (ssize_t ret) | |
ReadResult (ssize_t ret, std::unique_ptr< const AsyncSocketException > e) | |
Public Attributes | |
ssize_t | readReturn |
std::unique_ptr< const AsyncSocketException > | exception |
readReturn is the number of bytes read, or READ_EOF on EOF, or READ_ERROR on error, or READ_BLOCKING if the operation will block. exception is a more specific exception that may have caused a read error. Not all read errors have exceptions associated with them thus readReturn should be checked to determine whether the operation resulted in an error.
Definition at line 875 of file AsyncSocket.h.
|
inlineexplicit |
Definition at line 876 of file AsyncSocket.h.
|
inline |
Definition at line 878 of file AsyncSocket.h.
std::unique_ptr<const AsyncSocketException> folly::AsyncSocket::ReadResult::exception |
Definition at line 882 of file AsyncSocket.h.
ssize_t folly::AsyncSocket::ReadResult::readReturn |
Definition at line 881 of file AsyncSocket.h.