proxygen
|
#include <AsyncSocket.h>
Public Member Functions | |
virtual | ~ErrMessageCallback ()=default |
virtual void | errMessage (const cmsghdr &cmsg) noexcept=0 |
virtual void | errMessageError (const AsyncSocketException &ex) noexcept=0 |
This interface is implemented only for platforms supporting per-socket error queues.
Definition at line 120 of file AsyncSocket.h.
|
virtualdefault |
|
pure virtualnoexcept |
errMessage() will be invoked when kernel puts a message to the error queue associated with the socket.
cmsg | Reference to cmsghdr structure describing a message read from error queue associated with the socket. |
Referenced by folly::AsyncSocket::handleErrMessages().
|
pure virtualnoexcept |
errMessageError() will be invoked if an error occurs reading a message from the socket error stream.
ex | An exception describing the error that occurred. |
Referenced by folly::AsyncSocket::failErrMessageRead(), and folly::AsyncSocket::invalidState().