hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
channel_factory.hpp File Reference
#include "network/impl/channel_provider.hpp"
#include <memory>
#include <set>
#include <string>
#include <grpc++/grpc++.h>
#include "common/result.hpp"
#include "interfaces/common_objects/types.hpp"
#include "network/impl/grpc_channel_params.hpp"
Include dependency graph for channel_factory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  iroha::network::ChannelFactory
 

Namespaces

 iroha
 
 iroha::network
 

Functions

std::unique_ptr< GrpcChannelParamsiroha::network::getDefaultChannelParams ()
 
grpc::ChannelArguments iroha::network::makeChannelArguments (const std::set< std::string > &services, const GrpcChannelParams &params)
 
template<typename Service >
grpc::ChannelArguments iroha::network::makeChannelArguments (const GrpcChannelParams &params)
 
template<typename Service >
std::unique_ptr< typename Service::StubInterface > iroha::network::createInsecureClient (const std::string &address, const GrpcChannelParams &params)
 
template<typename Service >
std::unique_ptr< typename Service::StubInterface > iroha::network::createInsecureClient (const std::string &ip, size_t port, const GrpcChannelParams &params)
 
std::shared_ptr< grpc::Channel > iroha::network::createInsecureChannel (const shared_model::interface::types::AddressType &address, const std::string &service_full_name, const GrpcChannelParams &params)