Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::trace_api::abi_data_handler::shared_provider Class Reference

#include <abi_data_handler.hpp>

Public Member Functions

 shared_provider (const std::shared_ptr< abi_data_handler > &handler)
 
std::tuple< fc::variant, std::optional< fc::variant > > serialize_to_variant (const std::variant< action_trace_v0, action_trace_v1 > &action, const yield_function &yield)
 

Public Attributes

std::shared_ptr< abi_data_handlerhandler
 

Detailed Description

Utility class that allows mulitple request_handlers to share the same abi_data_handler

Definition at line 45 of file abi_data_handler.hpp.

Constructor & Destructor Documentation

◆ shared_provider()

sysio::trace_api::abi_data_handler::shared_provider::shared_provider ( const std::shared_ptr< abi_data_handler > & handler)
inlineexplicit

Definition at line 47 of file abi_data_handler.hpp.

49 {}

Member Function Documentation

◆ serialize_to_variant()

std::tuple< fc::variant, std::optional< fc::variant > > sysio::trace_api::abi_data_handler::shared_provider::serialize_to_variant ( const std::variant< action_trace_v0, action_trace_v1 > & action,
const yield_function & yield )
inline

Definition at line 51 of file abi_data_handler.hpp.

51 {
52 return handler->serialize_to_variant(action, yield);
53 }

Member Data Documentation

◆ handler

std::shared_ptr<abi_data_handler> sysio::trace_api::abi_data_handler::shared_provider::handler

Definition at line 55 of file abi_data_handler.hpp.


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