Uses of Interface
org.hyperledger.fabric.gateway.Gateway.Builder
Package
Description
This package provides the set of interfaces that enable a Java application to
interact with a Fabric blockchain network.
-
Uses of Gateway.Builder in org.hyperledger.fabric.gateway
Modifier and TypeMethodDescriptionGateway.Builder.commitHandler
(CommitHandlerFactory commitHandler) Optional - Allows an alternative commit handler to be specified.Gateway.Builder.commitTimeout
(long timeout, TimeUnit timeUnit) Optional - Set the default maximum time to wait for commit events to be received from peers after submitting a transaction to the orderer.static Gateway.Builder
Gateway.createBuilder()
Creates a gateway builder which is used to configure the gateway options prior to connecting to the Fabric network.Gateway.Builder.discovery
(boolean enabled) Optional - Enable or disable service discovery for all transaction submissions for this gateway.Specifies the identity that is to be used to connect to the network.Specifies the identity that is to be used to connect to the network.Gateway.Builder.networkConfig
(InputStream config) Specifies the common connection profile.Gateway.Builder.networkConfig
(Path config) Specifies the path to the common connection profile.Gateway.Builder.queryHandler
(QueryHandlerFactory queryHandler) Optional - Allows an alternative query handler to be specified.