Class ProposalResponse

    • Method Detail

      • isVerified

        public boolean isVerified​()
      • getProposal

        public org.hyperledger.fabric.protos.peer.FabricProposal.Proposal getProposal​()
      • setProposal

        public void setProposal​(org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal signedProposal)
                         throws ProposalException
        Throws:
        ProposalException
      • getProposalResponse

        public org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse getProposalResponse​()
        Get response to the proposal returned by the peer.
        Returns:
        peer response.
      • setProposalResponse

        public void setProposalResponse​(org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse proposalResponse)
      • getPeer

        public Peer getPeer​()
        The peer this proposal was created on.
        Returns:
        See Peer
      • getChaincodeActionResponsePayload

        public byte[] getChaincodeActionResponsePayload​()
                                                 throws InvalidArgumentException
        ChaincodeActionResponsePayload is the result of the executing chaincode.
        Returns:
        the result of the executing chaincode.
        Throws:
        InvalidArgumentException
      • getChaincodeActionResponseStatus

        public int getChaincodeActionResponseStatus​()
                                             throws InvalidArgumentException
        getChaincodeActionResponseStatus returns the what chaincode executions set as the return status.
        Returns:
        status code.
        Throws:
        InvalidArgumentException