Gateway.Builder |
Gateway.Builder.commitHandler(CommitHandlerFactory commitHandler) |
Optional - Allows an alternative commit handler to be specified.
|
Gateway.Builder |
Gateway.Builder.commitTimeout(long timeout,
java.util.concurrent.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 |
Gateway.Builder.discovery(boolean enabled) |
Optional - Enable or disable service discovery for all transaction submissions for this gateway.
|
Gateway.Builder |
Gateway.Builder.identity(Identity identity) |
Specifies the identity that is to be used to connect to the network.
|
Gateway.Builder |
Gateway.Builder.identity(Wallet wallet,
java.lang.String id) |
Specifies the identity that is to be used to connect to the network.
|
Gateway.Builder |
Gateway.Builder.networkConfig(java.io.InputStream config) |
Specifies the common connection profile.
|
Gateway.Builder |
Gateway.Builder.networkConfig(java.nio.file.Path config) |
Specifies the path to the common connection profile.
|
Gateway.Builder |
Gateway.Builder.queryHandler(QueryHandlerFactory queryHandler) |
Optional - Allows an alternative query handler to be specified.
|