org.hyperledger.fabric.gateway.spi

## 接口 PeerDisconnectEvent

-     public interface PeerDisconnectEvent

  Event with information relating to a peer disconnect.

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `Throwable` | `getCause()` Get any underlying exception describing the reason the peer disconnected.
    `org.hyperledger.fabric.sdk.Peer` | `getPeer()` Get the peer that has disconnected.

- - ### 方法详细资料

    - #### getPeer

          org.hyperledger.fabric.sdk.Peer getPeer()

      Get the peer that has disconnected.
      返回:
        A peer.

    - #### getCause

          Throwable getCause()

      Get any underlying exception describing the reason the peer disconnected.
      返回:
        An exception.

Copyright © 2023. All rights reserved.