Interface PeerDisconnectEvent


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      Get any underlying exception describing the reason the peer disconnected.
      org.hyperledger.fabric.sdk.Peer getPeer()
      Get the peer that has disconnected.
    • Method Detail

      • getPeer

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

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