public static interface NetworkConfig.NetworkConfigAddOrdererHandler
Modifier and Type | Method and Description |
---|---|
void |
addOrderer(NetworkConfig networkConfig,
HFClient client,
Channel channel,
String ordererName,
String ordererURL,
Properties ordererProperties,
javax.json.JsonObject jsonOrderer) |
void addOrderer(NetworkConfig networkConfig, HFClient client, Channel channel, String ordererName, String ordererURL, Properties ordererProperties, javax.json.JsonObject jsonOrderer) throws NetworkConfigurationException
networkConfig
- The network configuration.client
- The client to be used to create the orderer.channel
- The channel the orderer is to be added.ordererName
- The orderer's name.ordererURL
- The orderers's urlordererProperties
- properties that were found in the networkconfigjsonOrderer
- json orderer was createdNetworkConfigurationException
Copyright © 2020. All rights reserved.