hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::QueryPayloadMeta Class Referenceabstract

#include "query_payload_meta.hpp"

Inheritance diagram for shared_model::interface::QueryPayloadMeta:
Inheritance graph
Collaboration diagram for shared_model::interface::QueryPayloadMeta:
Collaboration graph

Public Member Functions

virtual const types::AccountIdTypecreatorAccountId () const =0
 
virtual types::CounterType queryCounter () const =0
 
virtual types::TimestampType createdTime () const =0
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< QueryPayloadMeta >
virtual std::string toString () const
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< QueryPayloadMeta > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< QueryPayloadMeta >
using ModelType = QueryPayloadMeta
 
- Public Types inherited from Cloneable< ModelPrimitive< QueryPayloadMeta > >
using base_type = ModelPrimitive< QueryPayloadMeta >
 
- Protected Member Functions inherited from Cloneable< ModelPrimitive< QueryPayloadMeta > >
virtual ModelPrimitive< QueryPayloadMeta > * clone () const =0
 

Detailed Description

Class QueryPayloadMeta provides metadata of query payload General note: this class is container for queries but not a base class.

Member Function Documentation

interface::types::TimestampType shared_model::proto::QueryPayloadMeta::createdTime ( ) const
pure virtual
Returns
time of creation

Implemented in shared_model::proto::FINAL, shared_model::proto::FINAL, shared_model::proto::FINAL, and shared_model::proto::FINAL.

Here is the caller graph for this function:

const interface::types::AccountIdType & shared_model::proto::QueryPayloadMeta::creatorAccountId ( ) const
pure virtual
Returns
id of query creator

Implemented in shared_model::proto::FINAL, shared_model::proto::FINAL, shared_model::proto::FINAL, and shared_model::proto::FINAL.

Here is the caller graph for this function:

bool shared_model::interface::QueryPayloadMeta::operator== ( const ModelType rhs) const
overridevirtual

Implements shared_model::interface::ModelPrimitive< QueryPayloadMeta >.

Here is the call graph for this function:

interface::types::CounterType shared_model::proto::QueryPayloadMeta::queryCounter ( ) const
pure virtual

Query counter - incremental variable reflect for number of sent to system queries plus 1. Required for preventing replay attacks.

Returns
attached query counter

Implemented in shared_model::proto::FINAL, shared_model::proto::FINAL, and shared_model::proto::FINAL.

Here is the caller graph for this function:


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