Interface PeerDisconnectEvent


public interface PeerDisconnectEvent
Event with information relating to a peer disconnect.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get any underlying exception describing the reason the peer disconnected.
    org.hyperledger.fabric.sdk.Peer
    Get the peer that has disconnected.
  • Method Details

    • getPeer

      org.hyperledger.fabric.sdk.Peer getPeer()
      Get the peer that has disconnected.
      Returns:
      A peer.
    • getCause

      Throwable getCause()
      Get any underlying exception describing the reason the peer disconnected.
      Returns:
      An exception.