Package | Description |
---|---|
org.hyperledger.fabric.sdk |
Modifier and Type | Method and Description |
---|---|
void |
NetworkConfig.NetworkConfigAddOrdererHandler.addOrderer(NetworkConfig networkConfig,
HFClient client,
Channel channel,
String ordererName,
String ordererURL,
Properties ordererProperties,
javax.json.JsonObject jsonOrderer) |
void |
NetworkConfig.NetworkConfigAddPeerHandler.addPeer(NetworkConfig networkConfig,
HFClient client,
Channel channel,
String peerName,
String peerURL,
Properties peerProperties,
Channel.PeerOptions peerOptions,
javax.json.JsonObject jsonPeer) |
static NetworkConfig |
NetworkConfig.fromJsonFile(File configFile)
Creates a new NetworkConfig instance configured with details supplied in a JSON file.
|
static NetworkConfig |
NetworkConfig.fromJsonObject(javax.json.JsonObject jsonConfig)
Creates a new NetworkConfig instance configured with details supplied in a JSON object
|
static NetworkConfig |
NetworkConfig.fromJsonStream(InputStream configStream)
Creates a new NetworkConfig instance configured with details supplied in JSON format
|
static NetworkConfig |
NetworkConfig.fromYamlFile(File configFile)
Creates a new NetworkConfig instance configured with details supplied in a YAML file.
|
static NetworkConfig |
NetworkConfig.fromYamlStream(InputStream configStream)
Creates a new NetworkConfig instance configured with details supplied in YAML format
|
NetworkConfig.UserInfo |
NetworkConfig.getPeerAdmin()
Returns the admin user associated with the client organization
|
NetworkConfig.UserInfo |
NetworkConfig.getPeerAdmin(String orgName)
Returns the admin user associated with the specified organization
|
Channel |
HFClient.loadChannelFromConfig(String channelName,
NetworkConfig networkConfig)
Configures a channel based on information loaded from a Network Config file.
|
Channel |
HFClient.loadChannelFromConfig(String channelName,
NetworkConfig networkConfig,
NetworkConfig.NetworkConfigAddPeerHandler networkConfigAddPeerHandler,
NetworkConfig.NetworkConfigAddOrdererHandler networkConfigAddOrdererHandler)
Configures a channel based on information loaded from a Network Config file.
|
Copyright © 2022. All rights reserved.