hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ordering::transport::OnDemandOsServerGrpc Class Reference

#include "on_demand_os_server_grpc.hpp"

Inheritance diagram for iroha::ordering::transport::OnDemandOsServerGrpc:
Inheritance graph
Collaboration diagram for iroha::ordering::transport::OnDemandOsServerGrpc:
Collaboration graph

Public Types

using TransportFactoryType = shared_model::interface::AbstractTransportFactory< shared_model::interface::Transaction, iroha::protocol::Transaction >
 

Public Member Functions

 OnDemandOsServerGrpc (std::shared_ptr< OnDemandOrderingService > ordering_service, std::shared_ptr< TransportFactoryType > transaction_factory, std::shared_ptr< shared_model::interface::TransactionBatchParser > batch_parser, std::shared_ptr< shared_model::interface::TransactionBatchFactory > transaction_batch_factory, logger::LoggerPtr log, std::chrono::milliseconds delay)
 
grpc::Status SendBatches (::grpc::ServerContext *context, const proto::BatchesRequest *request, ::google::protobuf::Empty *response) override
 
grpc::Status RequestProposal (::grpc::ServerContext *context, const proto::ProposalRequest *request, proto::ProposalResponse *response) override
 

Detailed Description

gRPC server for on demand ordering service

Member Typedef Documentation

◆ TransportFactoryType

Constructor & Destructor Documentation

◆ OnDemandOsServerGrpc()

OnDemandOsServerGrpc::OnDemandOsServerGrpc ( std::shared_ptr< OnDemandOrderingService ordering_service,
std::shared_ptr< TransportFactoryType transaction_factory,
std::shared_ptr< shared_model::interface::TransactionBatchParser batch_parser,
std::shared_ptr< shared_model::interface::TransactionBatchFactory transaction_batch_factory,
logger::LoggerPtr  log,
std::chrono::milliseconds  delay 
)

Member Function Documentation

◆ RequestProposal()

grpc::Status OnDemandOsServerGrpc::RequestProposal ( ::grpc::ServerContext *  context,
const proto::ProposalRequest *  request,
proto::ProposalResponse *  response 
)
override
Here is the call graph for this function:

◆ SendBatches()

grpc::Status OnDemandOsServerGrpc::SendBatches ( ::grpc::ServerContext *  context,
const proto::BatchesRequest *  request,
::google::protobuf::Empty *  response 
)
override
Here is the call graph for this function:

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