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

#include "proto_query_payload_meta.hpp"

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

Public Member Functions

template<typename QueryPayloadMetaType >
 QueryPayloadMeta (QueryPayloadMetaType &&query)
 
 QueryPayloadMeta (const QueryPayloadMeta &o)
 
 QueryPayloadMeta (QueryPayloadMeta &&o) noexcept
 
const interface::types::AccountIdTypecreatorAccountId () const override
 
interface::types::CounterType queryCounter () const override
 
interface::types::TimestampType createdTime () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::QueryPayloadMeta, iroha::protocol::QueryPayloadMeta, QueryPayloadMeta >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::QueryPayloadMeta & getTransport () const
 
- Public Member Functions inherited from shared_model::interface::QueryPayloadMeta
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::proto::CopyableProto< interface::QueryPayloadMeta, iroha::protocol::QueryPayloadMeta, QueryPayloadMeta >
using TransportType = iroha::protocol::QueryPayloadMeta
 
- 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 shared_model::proto::CopyableProto< interface::QueryPayloadMeta, iroha::protocol::QueryPayloadMeta, QueryPayloadMeta >
interface::QueryPayloadMeta::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::QueryPayloadMeta, iroha::protocol::QueryPayloadMeta, QueryPayloadMeta >
detail::ReferenceHolder< iroha::protocol::QueryPayloadMeta > proto_
 

Constructor & Destructor Documentation

template<typename QueryPayloadMetaType >
shared_model::proto::QueryPayloadMeta::QueryPayloadMeta ( QueryPayloadMetaType &&  query)
explicit
shared_model::proto::QueryPayloadMeta::QueryPayloadMeta ( const QueryPayloadMeta o)
shared_model::proto::QueryPayloadMeta::QueryPayloadMeta ( QueryPayloadMeta &&  o)
noexcept

Member Function Documentation

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

Implements shared_model::interface::QueryPayloadMeta.

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

Implements shared_model::interface::QueryPayloadMeta.

interface::types::CounterType shared_model::proto::QueryPayloadMeta::queryCounter ( ) const
overridevirtual

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

Returns
attached query counter

Implements shared_model::interface::QueryPayloadMeta.


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