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< OdOsNotification > 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)
 
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

Constructor & Destructor Documentation

OnDemandOsServerGrpc::OnDemandOsServerGrpc ( std::shared_ptr< OdOsNotification 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 
)

Member Function Documentation

grpc::Status OnDemandOsServerGrpc::RequestProposal ( ::grpc::ServerContext *  context,
const proto::ProposalRequest *  request,
proto::ProposalResponse *  response 
)
override
grpc::Status OnDemandOsServerGrpc::SendBatches ( ::grpc::ServerContext *  context,
const proto::BatchesRequest *  request,
::google::protobuf::Empty *  response 
)
override

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