LLDB mainline
|
Function object to reply to a call. More...
Public Member Functions | |
ReplyOnce (const Req req, Transport *transport, MessageHandler *handler) | |
ReplyOnce (ReplyOnce &&other) | |
ReplyOnce & | operator= (ReplyOnce &&)=delete |
ReplyOnce (const ReplyOnce &)=delete | |
ReplyOnce & | operator= (const ReplyOnce &)=delete |
~ReplyOnce () | |
void | operator() (const Resp &resp) |
Private Attributes | |
std::atomic< bool > | replied = {false} |
const Req | req |
Transport * | transport |
MessageHandler * | handler |
Function object to reply to a call.
Each instance must be called exactly once, otherwise:
Definition at line 608 of file JSONTransport.h.
|
inline |
Definition at line 615 of file JSONTransport.h.
References handler, req, and transport.
Referenced by operator=(), operator=(), ReplyOnce(), and ReplyOnce().
|
inline |
Definition at line 619 of file JSONTransport.h.
References handler, replied, ReplyOnce(), req, and transport.
|
delete |
References ReplyOnce().
|
inline |
|
inline |
|
delete |
References ReplyOnce().
|
delete |
References ReplyOnce().
|
private |
Definition at line 612 of file JSONTransport.h.
Referenced by operator()(), ReplyOnce(), ReplyOnce(), and ~ReplyOnce().
|
private |
Definition at line 609 of file JSONTransport.h.
Referenced by operator()(), ReplyOnce(), and ~ReplyOnce().
|
private |
Definition at line 610 of file JSONTransport.h.
Referenced by ReplyOnce(), ReplyOnce(), and ~ReplyOnce().
|
private |
Definition at line 611 of file JSONTransport.h.
Referenced by operator()(), ReplyOnce(), ReplyOnce(), and ~ReplyOnce().