CCF
|
#include <endpoint_context_impl.h>
Inherits ccf::endpoints::EndpointContext.
Public Member Functions | |
EndpointContextImpl (const std::shared_ptr< ccf::RpcContext > &r, std::unique_ptr< ccf::kv::CommittableTx > t) | |
![]() | |
EndpointContext (const std::shared_ptr< ccf::RpcContext > &r, ccf::kv::Tx &t) | |
![]() | |
virtual | ~CommandEndpointContext ()=default |
CommandEndpointContext (const std::shared_ptr< ccf::RpcContext > &r) | |
template<typename T > | |
const T * | try_get_caller () |
template<typename T > | |
const T & | get_caller () |
Public Attributes | |
std::unique_ptr< ccf::kv::CommittableTx > | owned_tx = nullptr |
![]() | |
ccf::kv::Tx & | tx |
![]() | |
std::shared_ptr< ccf::RpcContext > | rpc_ctx |
std::unique_ptr< AuthnIdentity > | caller |
|
inline |
std::unique_ptr<ccf::kv::CommittableTx> ccf::EndpointContextImpl::owned_tx = nullptr |