Interface NetworkConfig.NetworkConfigAddOrdererHandler

Enclosing class:
NetworkConfig

public static interface NetworkConfig.NetworkConfigAddOrdererHandler
Interface defining handler for adding orderers.
  • Method Details

    • addOrderer

      void addOrderer(NetworkConfig networkConfig, HFClient client, Channel channel, String ordererName, String ordererURL, Properties ordererProperties, javax.json.JsonObject jsonOrderer) throws NetworkConfigurationException
      Parameters:
      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 url
      ordererProperties - properties that were found in the networkconfig
      jsonOrderer - json orderer was created
      Throws:
      NetworkConfigurationException - if the configuration cannot be parsed