- acceptCommit(BlockEvent.TransactionEvent) - 接口 中的方法org.hyperledger.fabric.gateway.spi.CommitListener
-
Called to notify the listener that a given peer has processed a transaction.
- acceptDisconnect(PeerDisconnectEvent) - 接口 中的方法org.hyperledger.fabric.gateway.spi.CommitListener
-
Called to notify the listener of a communication failure with a given peer.
- addBlockListener(Consumer<BlockEvent>) - 接口 中的方法org.hyperledger.fabric.gateway.Network
-
Add a listener to receive block events from the network.
- addBlockListener(Checkpointer, Consumer<BlockEvent>) - 接口 中的方法org.hyperledger.fabric.gateway.Network
-
Add a listener to receive block events from the network with checkpointing.
- addBlockListener(long, Consumer<BlockEvent>) - 接口 中的方法org.hyperledger.fabric.gateway.Network
-
Add a listener to replay block events from the network.
- addCommitListener(CommitListener, Collection<Peer>, String) - 接口 中的方法org.hyperledger.fabric.gateway.Network
-
Add a listener to receive transaction commit and peer disconnect events for a set of peers.
- addContractListener(Consumer<ContractEvent>) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Add a listener to receive all contract events emitted by committed transactions.
- addContractListener(Consumer<ContractEvent>, String) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Add a listener to receive contract events emitted by committed transactions.
- addContractListener(Consumer<ContractEvent>, Pattern) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Add a listener to receive contract events emitted by committed transactions.
- addContractListener(Checkpointer, Consumer<ContractEvent>) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Add a listener to receive all contract events emitted by committed transactions with checkpointing.
- addContractListener(Checkpointer, Consumer<ContractEvent>, String) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Add a listener to receive contract events emitted by committed transactions with checkpointing.
- addContractListener(Checkpointer, Consumer<ContractEvent>, Pattern) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Add a listener to receive contract events emitted by committed transactions with checkpointing.
- addContractListener(long, Consumer<ContractEvent>) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Add a listener to replay contract events emitted by committed transactions.
- addContractListener(long, Consumer<ContractEvent>, String) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Add a listener to replay contract events emitted by committed transactions.
- addContractListener(long, Consumer<ContractEvent>, Pattern) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Add a listener to replay contract events emitted by committed transactions.
- addTransactionId(String) - 接口 中的方法org.hyperledger.fabric.gateway.spi.Checkpointer
-
Add a transaction ID for the current block.
- cancelListening() - 接口 中的方法org.hyperledger.fabric.gateway.spi.CommitHandler
-
- Checkpointer - org.hyperledger.fabric.gateway.spi中的接口
-
Persists the current block and transactions within that block to enable event listening to be resumed following an
application outage.
- close() - 接口 中的方法org.hyperledger.fabric.gateway.Gateway
-
Close the gateway connection and all associated resources, including removing listeners attached to networks and
contracts created by the gateway.
- close() - 接口 中的方法org.hyperledger.fabric.gateway.spi.Checkpointer
-
- commitHandler(CommitHandlerFactory) - 接口 中的方法org.hyperledger.fabric.gateway.Gateway.Builder
-
Optional - Allows an alternative commit handler to be specified.
- CommitHandler - org.hyperledger.fabric.gateway.spi中的接口
-
Class to handle waiting for an appropriate number of successful commit events to be received from peers following
submit of a transaction to the orderer.
- CommitHandlerFactory - org.hyperledger.fabric.gateway.spi中的接口
-
Functional interface describing a factory function for constructing
CommitHandler
instances.
- CommitListener - org.hyperledger.fabric.gateway.spi中的接口
-
Implemented by listeners for transaction commit events.
- commitTimeout(long, TimeUnit) - 接口 中的方法org.hyperledger.fabric.gateway.Gateway.Builder
-
Optional - Set the default maximum time to wait for commit events to be received from peers after
submitting a transaction to the orderer.
- connect() - 接口 中的方法org.hyperledger.fabric.gateway.Gateway.Builder
-
Connects to the gateway using the specified options.
- Contract - org.hyperledger.fabric.gateway中的接口
-
Represents a smart contract instance in a network.
- ContractEvent - org.hyperledger.fabric.gateway中的接口
-
Event emitted by the business logic of a smart contract during execution of a transaction.
- ContractException - org.hyperledger.fabric.gateway中的异常错误
-
Thrown when an error occurs invoking a smart contract.
- ContractException(String) - 异常错误 的构造器org.hyperledger.fabric.gateway.ContractException
-
Constructs a new exception with the specified detail message.
- ContractException(String, Throwable) - 异常错误 的构造器org.hyperledger.fabric.gateway.ContractException
-
Constructs a new exception with the specified detail message and cause.
- ContractException(String, Collection<ProposalResponse>) - 异常错误 的构造器org.hyperledger.fabric.gateway.ContractException
-
Constructs a new exception with the specified detail message and proposal responses returned from peer
invocations.
- create(String, Network) - 枚举 中的方法org.hyperledger.fabric.gateway.DefaultCommitHandlers
-
- create(Network) - 枚举 中的方法org.hyperledger.fabric.gateway.DefaultQueryHandlers
-
- create(String, Network) - 接口 中的方法org.hyperledger.fabric.gateway.spi.CommitHandlerFactory
-
Factory function to create a commit handler instance.
- create(Network) - 接口 中的方法org.hyperledger.fabric.gateway.spi.QueryHandlerFactory
-
Factory function to create a query handler instance.
- createBuilder() - 接口 中的静态方法org.hyperledger.fabric.gateway.Gateway
-
Creates a gateway builder which is used to configure the gateway options
prior to connecting to the Fabric network.
- createTransaction(String) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
-
Create an object representing a specific invocation of a transaction
function implemented by this contract, and provides more control over
the transaction invocation.
- Gateway - org.hyperledger.fabric.gateway中的接口
-
The Gateway provides the connection point for an application to access the Fabric network as a specific user.
- Gateway.Builder - org.hyperledger.fabric.gateway中的接口
-
The Gateway Builder interface defines the options that can be configured
prior to connection.
- GatewayException - org.hyperledger.fabric.gateway中的异常错误
-
Base class for exceptions thrown by the Gateway SDK or by components of the underlying Fabric.
- GatewayException(String) - 异常错误 的构造器org.hyperledger.fabric.gateway.GatewayException
-
Constructs a new exception with the specified detail message.
- GatewayException(Throwable) - 异常错误 的构造器org.hyperledger.fabric.gateway.GatewayException
-
Constructs a new exception with the specified cause.
- GatewayException(String, Throwable) - 异常错误 的构造器org.hyperledger.fabric.gateway.GatewayException
-
Constructs a new exception with the specified detail message and cause.
- GatewayRuntimeException - org.hyperledger.fabric.gateway中的异常错误
-
Runtime exception for gateway classes.
- GatewayRuntimeException(String) - 异常错误 的构造器org.hyperledger.fabric.gateway.GatewayRuntimeException
-
Constructs a new exception with the specified detail message.
- GatewayRuntimeException(Throwable) - 异常错误 的构造器org.hyperledger.fabric.gateway.GatewayRuntimeException
-
Constructs a new exception with the specified cause.
- GatewayRuntimeException(String, Throwable) - 异常错误 的构造器org.hyperledger.fabric.gateway.GatewayRuntimeException
-
Constructs a new exception with the specified detail message and cause.
- get(String) - 接口 中的方法org.hyperledger.fabric.gateway.spi.WalletStore
-
Get data from the store.
- get(String) - 接口 中的方法org.hyperledger.fabric.gateway.Wallet
-
Get an identity from the wallet.
- getBlockNumber() - 接口 中的方法org.hyperledger.fabric.gateway.spi.Checkpointer
-
- getCause() - 接口 中的方法org.hyperledger.fabric.gateway.spi.PeerDisconnectEvent
-
Get any underlying exception describing the reason the peer disconnected.
- getCertificate() - 接口 中的方法org.hyperledger.fabric.gateway.X509Identity
-
Get the certificate for this identity.
- getChaincodeId() - 接口 中的方法org.hyperledger.fabric.gateway.ContractEvent
-
Get the identifier of the chaincode that emitted the event.
- getChannel() - 接口 中的方法org.hyperledger.fabric.gateway.Network
-
Get the low-level chanel object associated with this network.
- getContract(String) - 接口 中的方法org.hyperledger.fabric.gateway.Network
-
Get an instance of a contract on the current network.
- getContract(String, String) - 接口 中的方法org.hyperledger.fabric.gateway.Network
-
Get an instance of a contract on the current network.
- getGateway() - 接口 中的方法org.hyperledger.fabric.gateway.Network
-
Get a reference to the owning Gateway connection.
- getIdentity() - 接口 中的方法org.hyperledger.fabric.gateway.Gateway
-
Get the identity associated with the gateway connection.
- getMspId() - 接口 中的方法org.hyperledger.fabric.gateway.Identity
-
Member services provider to which this identity is associated.
- getName() - 接口 中的方法org.hyperledger.fabric.gateway.ContractEvent
-
Get the name of the event emitted by the contract.
- getName() - 接口 中的方法org.hyperledger.fabric.gateway.Transaction
-
Get the fully qualified name of the transaction function.
- getNetwork(String) - 接口 中的方法org.hyperledger.fabric.gateway.Gateway
-
Returns an object representing a network.
- getPayload() - 接口 中的方法org.hyperledger.fabric.gateway.ContractEvent
-
Any binary data associated with this event by the chaincode.
- getPeer() - 接口 中的方法org.hyperledger.fabric.gateway.spi.PeerDisconnectEvent
-
Get the peer that has disconnected.
- getPrivateKey() - 接口 中的方法org.hyperledger.fabric.gateway.X509Identity
-
Get the private key for this identity.
- getProposalResponses() - 异常错误 中的方法org.hyperledger.fabric.gateway.ContractException
-
Get the proposal responses received from peer invocations.
- getTransactionEvent() - 接口 中的方法org.hyperledger.fabric.gateway.ContractEvent
-
Get the transaction event that included this contract event.
- getTransactionId() - 接口 中的方法org.hyperledger.fabric.gateway.Transaction
-
Get the transaction ID that will be used when submitting this transaction.
- getTransactionIds() - 接口 中的方法org.hyperledger.fabric.gateway.spi.Checkpointer
-
Get the transaction IDs processed within the current block.