Class PeerEventingServiceException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse getResp​()
      If response from the Peer's error is received return it.
      long getTimedOut​()  
      void setResponse​(org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse resp)  
      void setTimedOut​(long peerEventRegistrationWaitTimeMilliSecs)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • Constructor Detail

      • PeerEventingServiceException

        public PeerEventingServiceException​(java.lang.String message,
                                            java.lang.Throwable parent)
      • PeerEventingServiceException

        public PeerEventingServiceException​(java.lang.String message)
      • PeerEventingServiceException

        public PeerEventingServiceException​(java.lang.Throwable t)
    • Method Detail

      • getTimedOut

        public long getTimedOut​()
        Returns:
        if timed out the time that was waited; otherwise, -1
      • getResp

        public org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse getResp​()
        If response from the Peer's error is received return it.
        Returns:
        Response error from peer if received otherwise null.
      • setResponse

        public void setResponse​(org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse resp)
      • setTimedOut

        public void setTimedOut​(long peerEventRegistrationWaitTimeMilliSecs)