跳过导航链接
A C D E F G I L N O P Q R S T U V W X 

A

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.

C

cancelListening() - 接口 中的方法org.hyperledger.fabric.gateway.spi.CommitHandler
Called to interrupt the waiting state of CommitHandler.waitForEvents(long, TimeUnit) before completion.
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.

D

DefaultCheckpointers - org.hyperledger.fabric.gateway中的类
Provides static factory methods used to create instances of default Checkpointer implementations.
DefaultCommitHandlers - org.hyperledger.fabric.gateway中的枚举
Default commit handler implementations.
DefaultQueryHandlers - org.hyperledger.fabric.gateway中的枚举
Default query handler implementations.
discovery(boolean) - 接口 中的方法org.hyperledger.fabric.gateway.Gateway.Builder
Optional - Enable or disable service discovery for all transaction submissions for this gateway.

E

evaluate(Peer) - 接口 中的方法org.hyperledger.fabric.gateway.spi.Query
Evaluate the query on a specific peer.
evaluate(Collection<Peer>) - 接口 中的方法org.hyperledger.fabric.gateway.spi.Query
Evaluate the query on several peers.
evaluate(Query) - 接口 中的方法org.hyperledger.fabric.gateway.spi.QueryHandler
Called when the result for a given query is required.
evaluate(String...) - 接口 中的方法org.hyperledger.fabric.gateway.Transaction
Evaluate a transaction function and return its results.
evaluateTransaction(String, String...) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
Evaluate a transaction function and return its results.

F

file(Path) - 类 中的静态方法org.hyperledger.fabric.gateway.DefaultCheckpointers
Checkpointer implementation that persists state to a given file.

G

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
Get the current block number, or Checkpointer.UNSET_BLOCK_NUMBER if there is no previously saved state.
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.

I

Identities - org.hyperledger.fabric.gateway中的类
This class consists exclusively of static methods used to create and operate on identity information.
identity(Wallet, String) - 接口 中的方法org.hyperledger.fabric.gateway.Gateway.Builder
Specifies the identity that is to be used to connect to the network.
identity(Identity) - 接口 中的方法org.hyperledger.fabric.gateway.Gateway.Builder
Specifies the identity that is to be used to connect to the network.
Identity - org.hyperledger.fabric.gateway中的接口
Common behavior shared by all identity implementations.

L

list() - 接口 中的方法org.hyperledger.fabric.gateway.spi.WalletStore
List the labels for all stored data.
list() - 接口 中的方法org.hyperledger.fabric.gateway.Wallet
Get the labels of all identities in the wallet.

N

Network - org.hyperledger.fabric.gateway中的接口
A Network object represents the set of peers in a Fabric network (channel).
networkConfig(Path) - 接口 中的方法org.hyperledger.fabric.gateway.Gateway.Builder
Specifies the path to the common connection profile.
networkConfig(InputStream) - 接口 中的方法org.hyperledger.fabric.gateway.Gateway.Builder
Specifies the common connection profile.
newCouchDBWallet(URL, String) - 类 中的静态方法org.hyperledger.fabric.gateway.Wallets
Create a wallet backed by a CouchDB database.
newFileSystemWallet(Path) - 类 中的静态方法org.hyperledger.fabric.gateway.Wallets
Create a wallet backed by a directory on the file system.
newInMemoryWallet() - 类 中的静态方法org.hyperledger.fabric.gateway.Wallets
Create a wallet backed by an in-memory (non-persistent) store.
newWallet(WalletStore) - 类 中的静态方法org.hyperledger.fabric.gateway.Wallets
Create a wallet backed by a custom store implementation.
newX509Identity(String, X509Certificate, PrivateKey) - 类 中的静态方法org.hyperledger.fabric.gateway.Identities
Create a new identity using X.509 credentials.
newX509Identity(String, Enrollment) - 类 中的静态方法org.hyperledger.fabric.gateway.Identities
Create a new X.509 identity from an enrollment returned from a Certificate Authority.

O

org.hyperledger.fabric.gateway - 程序包 org.hyperledger.fabric.gateway
This package provides the set of interfaces that enable a Java application to interact with a Fabric blockchain network.
org.hyperledger.fabric.gateway.spi - 程序包 org.hyperledger.fabric.gateway.spi
This package provides the set of interfaces that enable a Java developer to extend the set of built in handlers for controlling gateway strategies.

P

PeerDisconnectEvent - org.hyperledger.fabric.gateway.spi中的接口
Event with information relating to a peer disconnect.
put(String, InputStream) - 接口 中的方法org.hyperledger.fabric.gateway.spi.WalletStore
Put data into the store.
put(String, Identity) - 接口 中的方法org.hyperledger.fabric.gateway.Wallet
Put an identity into the wallet.

Q

Query - org.hyperledger.fabric.gateway.spi中的接口
Defines a query and provides methods to evaluate the query on specific peers.
queryHandler(QueryHandlerFactory) - 接口 中的方法org.hyperledger.fabric.gateway.Gateway.Builder
Optional - Allows an alternative query handler to be specified.
QueryHandler - org.hyperledger.fabric.gateway.spi中的接口
Handler responsible for evaluating a given query against appropriate peers.
QueryHandlerFactory - org.hyperledger.fabric.gateway.spi中的接口
Functional interface describing a factory function for constructing QueryHandler instances.

R

readPrivateKey(String) - 类 中的静态方法org.hyperledger.fabric.gateway.Identities
Read a PEM format private key.
readPrivateKey(Reader) - 类 中的静态方法org.hyperledger.fabric.gateway.Identities
Read a PEM format private key.
readX509Certificate(String) - 类 中的静态方法org.hyperledger.fabric.gateway.Identities
Read a PEM format X.509 certificate.
readX509Certificate(Reader) - 类 中的静态方法org.hyperledger.fabric.gateway.Identities
Read a PEM format X.509 certificate.
remove(String) - 接口 中的方法org.hyperledger.fabric.gateway.spi.WalletStore
Remove data from the store.
remove(String) - 接口 中的方法org.hyperledger.fabric.gateway.Wallet
Remove an identity from the wallet.
removeBlockListener(Consumer<BlockEvent>) - 接口 中的方法org.hyperledger.fabric.gateway.Network
Removes a previously added block listener.
removeCommitListener(CommitListener) - 接口 中的方法org.hyperledger.fabric.gateway.Network
Removes a previously added transaction commit listener.
removeContractListener(Consumer<ContractEvent>) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
Remove a previously registered contract listener.

S

setBlockNumber(long) - 接口 中的方法org.hyperledger.fabric.gateway.spi.Checkpointer
Set the current block number.
setCommitHandler(CommitHandlerFactory) - 接口 中的方法org.hyperledger.fabric.gateway.Transaction
Set the commit handler to use for this transaction invocation instead of the default handler configured for the gateway.
setCommitTimeout(long, TimeUnit) - 接口 中的方法org.hyperledger.fabric.gateway.Transaction
Set the maximum length of time to wait for commit events to be received after submitting a transaction to the orderer.
setEndorsingPeers(Collection<Peer>) - 接口 中的方法org.hyperledger.fabric.gateway.Transaction
Set the peers that should be used for endorsement of transaction submitted to the ledger using Transaction.submit(String...).
setProposalResponses(Collection<ProposalResponse>) - 异常错误 中的方法org.hyperledger.fabric.gateway.ContractException
Set the proposal responses received from peer invocations.
setTransient(Map<String, byte[]>) - 接口 中的方法org.hyperledger.fabric.gateway.Transaction
Set transient data that will be passed to the transaction function but will not be stored on the ledger.
startListening() - 接口 中的方法org.hyperledger.fabric.gateway.spi.CommitHandler
Called to initiate listening for transaction events.
submit(String...) - 接口 中的方法org.hyperledger.fabric.gateway.Transaction
Submit a transaction to the ledger.
submitTransaction(String, String...) - 接口 中的方法org.hyperledger.fabric.gateway.Contract
Submit a transaction to the ledger.

T

toPemString(Certificate) - 类 中的静态方法org.hyperledger.fabric.gateway.Identities
Converts the argument to a PEM format string.
toPemString(PrivateKey) - 类 中的静态方法org.hyperledger.fabric.gateway.Identities
Converts the argument to a PKCS #8 PEM format string.
Transaction - org.hyperledger.fabric.gateway中的接口
A Transaction represents a specific invocation of a transaction function, and provides flexibility over how that transaction is invoked.

U

UNSET_BLOCK_NUMBER - 接口 中的静态变量org.hyperledger.fabric.gateway.spi.Checkpointer
Block number indicating no stored value.

V

valueOf(String) - 枚举 中的静态方法org.hyperledger.fabric.gateway.DefaultCommitHandlers
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法org.hyperledger.fabric.gateway.DefaultQueryHandlers
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法org.hyperledger.fabric.gateway.DefaultCommitHandlers
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.hyperledger.fabric.gateway.DefaultQueryHandlers
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

waitForEvents(long, TimeUnit) - 接口 中的方法org.hyperledger.fabric.gateway.spi.CommitHandler
Block until enough transaction commit events have been received to satisfy the event handling strategy.
Wallet - org.hyperledger.fabric.gateway中的接口
A wallet stores identity information used to connect to a Hyperledger Fabric network.
Wallets - org.hyperledger.fabric.gateway中的类
Factory methods for creating wallets to hold identity information, using various backing stores.
WalletStore - org.hyperledger.fabric.gateway.spi中的接口
Interface for store implementations that provide backing storage for identities in a Wallet.

X

X509Identity - org.hyperledger.fabric.gateway中的接口
Identity comprising an X.509 certificate and associated private key.
A C D E F G I L N O P Q R S T U V W X 
跳过导航链接

Copyright © 2023. All rights reserved.