LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
LogCabin::RPC::ServiceMock::Expected Struct Reference

See responseQueue. More...

List of all members.

Public Member Functions

 Expected (uint16_t opCode, std::unique_ptr< Message > request, std::shared_ptr< Handler > response)
 Expected (Expected &&other)
Expectedoperator= (Expected &&other)

Public Attributes

uint16_t opCode
 The op code expected from the client.
std::unique_ptr< Messagerequest
 The request message expected from the client.
std::shared_ptr< Handlerresponse
 Code to respond to the client or close its session, etc.

Detailed Description

See responseQueue.

Definition at line 169 of file ServiceMock.h.


Constructor & Destructor Documentation

LogCabin::RPC::ServiceMock::Expected::Expected ( uint16_t  opCode,
std::unique_ptr< Message request,
std::shared_ptr< Handler response 
)

Definition at line 24 of file ServiceMock.cc.

Definition at line 33 of file ServiceMock.cc.


Member Function Documentation

ServiceMock::Expected & LogCabin::RPC::ServiceMock::Expected::operator= ( ServiceMock::Expected &&  other)

Definition at line 41 of file ServiceMock.cc.


Member Data Documentation

The op code expected from the client.

Definition at line 176 of file ServiceMock.h.

The request message expected from the client.

Definition at line 178 of file ServiceMock.h.

Code to respond to the client or close its session, etc.

Definition at line 180 of file ServiceMock.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines