NPRPC docs

struct CallContext

C++

struct CallContext

The call being dispatched, as seen by a servant.

include/nprpc/session_context.h:52

Fields

Poa *poa = nullptr

The POA of the servant being called; runtime use.

include/nprpc/session_context.h:58

std::stop_token stop_token

Stops when the client cancels this call or disconnects. Only a POA with a DispatchExecutor or NeverBlockTransport gets one that can stop: a call on the transport thread holds up the reader that would hear about it.

include/nprpc/session_context.h:56