Scanner C++ API
Public Types | Public Member Functions | Public Attributes | List of all members
scanner::Call< ServiceImpl, Request, Reply > Struct Template Reference
Inheritance diagram for scanner::Call< ServiceImpl, Request, Reply >:
scanner::BaseCall< ServiceImpl >

Public Types

using HandleFunction = void(ServiceImpl::*)(Call< ServiceImpl, Request, Reply > *)
 
using Tag = typename BaseCall< ServiceImpl >::Tag
 

Public Member Functions

 Call (const std::string &_name, HandleFunction _handler)
 
void Handle (ServiceImpl *service) override
 
void Respond (grpc::Status status)
 

Public Attributes

HandleFunction handler
 
grpc::ServerContext ctx
 
Request request
 
Reply reply
 
grpc::ServerAsyncResponseWriter< Reply > responder
 
Tag received_tag {this, Tag::State::Received}
 
Tag sent_tag {this, Tag::State::Sent}
 
Tag cancelled_tag {this, Tag::State::Cancelled}
 
- Public Attributes inherited from scanner::BaseCall< ServiceImpl >
std::string name
 

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