proxygen
MockErrMessageCallback Class Reference
Inheritance diagram for MockErrMessageCallback:

Public Member Functions

 ~MockErrMessageCallback () override=default
 
 MOCK_METHOD1 (errMessage_, void(const cmsghdr &))
 
void errMessage (const cmsghdr &cmsg) noexceptoverride
 
 MOCK_METHOD1 (errMessageError_, void(const folly::AsyncSocketException &))
 
void errMessageError (const folly::AsyncSocketException &ex) noexceptoverride
 

Detailed Description

Definition at line 466 of file AsyncUDPSocketTest.cpp.

Constructor & Destructor Documentation

MockErrMessageCallback::~MockErrMessageCallback ( )
overridedefault

Member Function Documentation

void MockErrMessageCallback::errMessage ( const cmsghdr &  cmsg)
inlineoverridenoexcept

Definition at line 471 of file AsyncUDPSocketTest.cpp.

References MOCK_METHOD1.

471  {
472  errMessage_(cmsg);
473  }
void MockErrMessageCallback::errMessageError ( const folly::AsyncSocketException ex)
inlineoverridenoexcept

Definition at line 476 of file AsyncUDPSocketTest.cpp.

477  {
478  errMessageError_(ex);
479  }
MockErrMessageCallback::MOCK_METHOD1 ( errMessage_  ,
void(const cmsghdr &)   
)
MockErrMessageCallback::MOCK_METHOD1 ( errMessageError_  ,
void(const folly::AsyncSocketException &)   
)

The documentation for this class was generated from the following file: