# 程序包的使用
org.hyperledger.fabric.gateway.spi

- 使用org.hyperledger.fabric.gateway.spi的程序包
  程序包 | 说明
  --- | ---
  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 | This package provides the set of interfaces that enable a Java developer to extend the set of built in handlers for controlling gateway strategies.

- org.hyperledger.fabric.gateway使用的org.hyperledger.fabric.gateway.spi中的类
  类和说明
  Checkpointer Persists the current block and transactions within that block to enable event listening to be resumed following an application outage.
  CommitHandler 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 Functional interface describing a factory function for constructing `CommitHandler` instances.
  CommitListener Implemented by listeners for transaction commit events.
  QueryHandler Handler responsible for evaluating a given query against appropriate peers.
  QueryHandlerFactory Functional interface describing a factory function for constructing `QueryHandler` instances.
  WalletStore Interface for store implementations that provide backing storage for identities in a `Wallet`.

- org.hyperledger.fabric.gateway.spi使用的org.hyperledger.fabric.gateway.spi中的类
  类和说明
  CommitHandler 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.
  PeerDisconnectEvent Event with information relating to a peer disconnect.
  Query Defines a query and provides methods to evaluate the query on specific peers.
  QueryHandler Handler responsible for evaluating a given query against appropriate peers.

Copyright © 2023. All rights reserved.