# 程序包 org.hyperledger.fabric.gateway

This package provides the set of interfaces that enable a Java application to interact with a Fabric blockchain network.

请参阅: 说明

- 接口概要
  接口 | 说明
  --- | ---
  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.
  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.
  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.

- 类概要
  类 | 说明
  --- | ---
  DefaultCheckpointers | Provides static factory methods used to create instances of default `Checkpointer` implementations.
  Identities | This class consists exclusively of static methods used to create and operate on identity information.
  Wallets | Factory methods for creating wallets to hold identity information, using various backing stores.

- 枚举概要
  枚举 | 说明
  --- | ---
  DefaultCommitHandlers | Default commit handler implementations.
  DefaultQueryHandlers | Default query handler implementations.

- 异常错误概要
  异常错误 | 说明
  --- | ---
  ContractException | Thrown when an error occurs invoking a smart contract.
  GatewayException | Base class for exceptions thrown by the Gateway SDK or by components of the underlying Fabric.
  GatewayRuntimeException | Runtime exception for gateway classes.

## 程序包org.hyperledger.fabric.gateway的说明

This package provides the set of interfaces that enable a Java application to interact with a Fabric blockchain network. It provides a simple API to submit transactions to a ledger or query the contents of a ledger with minimal code. The Gateway SDK implements the Fabric programming model as described in the Developing Applications chapter of the Fabric documentation.

另请参阅:
  Developing Fabric Applications

Copyright © 2023. All rights reserved.