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

- 使用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 | 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中的类
  类和说明
  Contract Represents a smart contract instance in a network.
  ContractEvent Event emitted by the business logic of a smart contract during execution of a transaction.
  ContractException Thrown when an error occurs invoking a smart contract.
  DefaultCommitHandlers Default commit handler implementations.
  DefaultQueryHandlers Default query handler implementations.
  Gateway The Gateway provides the connection point for an application to access the Fabric network as a specific user.
  Gateway.Builder The Gateway Builder interface defines the options that can be configured prior to connection.
  GatewayException Base class for exceptions thrown by the Gateway SDK or by components of the underlying Fabric.
  Identity Common behavior shared by all identity implementations.
  Network A Network object represents the set of peers in a Fabric network (channel).
  Transaction A Transaction represents a specific invocation of a transaction function, and provides flexibility over how that transaction is invoked.
  Wallet A wallet stores identity information used to connect to a Hyperledger Fabric network.
  X509Identity Identity comprising an X.509 certificate and associated private key.

- org.hyperledger.fabric.gateway.spi使用的org.hyperledger.fabric.gateway中的类
  类和说明
  ContractException Thrown when an error occurs invoking a smart contract.
  Network A Network object represents the set of peers in a Fabric network (channel).

Copyright © 2023. All rights reserved.