public class ProposalResponse extends ChaincodeResponse
ChaincodeResponse.Status
Modifier and Type | Method and Description |
---|---|
byte[] |
getChaincodeActionResponsePayload()
ChaincodeActionResponsePayload is the result of the executing chaincode.
|
TxReadWriteSetInfo |
getChaincodeActionResponseReadWriteSetInfo()
getChaincodeActionResponseReadWriteSetInfo get this proposals read write set.
|
int |
getChaincodeActionResponseStatus()
getChaincodeActionResponseStatus returns the what chaincode executions set as the return status.
|
ChaincodeID |
getChaincodeID()
Chaincode ID that was executed.
|
Peer |
getPeer()
The peer this proposal was created on.
|
org.hyperledger.fabric.protos.peer.ProposalPackage.Proposal |
getProposal() |
org.hyperledger.fabric.protos.peer.ProposalResponsePackage.ProposalResponse |
getProposalResponse()
Get response to the proposal returned by the peer.
|
boolean |
isVerified() |
void |
setProposal(org.hyperledger.fabric.protos.peer.ProposalPackage.SignedProposal signedProposal) |
void |
setProposalResponse(org.hyperledger.fabric.protos.peer.ProposalResponsePackage.ProposalResponse proposalResponse) |
getMessage, getStatus, getTransactionID, isInvalid
public boolean isVerified()
public org.hyperledger.fabric.protos.peer.ProposalPackage.Proposal getProposal()
public void setProposal(org.hyperledger.fabric.protos.peer.ProposalPackage.SignedProposal signedProposal) throws ProposalException
ProposalException
public org.hyperledger.fabric.protos.peer.ProposalResponsePackage.ProposalResponse getProposalResponse()
public void setProposalResponse(org.hyperledger.fabric.protos.peer.ProposalResponsePackage.ProposalResponse proposalResponse)
public ChaincodeID getChaincodeID() throws InvalidArgumentException
ChaincodeID
InvalidArgumentException
public byte[] getChaincodeActionResponsePayload() throws InvalidArgumentException
InvalidArgumentException
public int getChaincodeActionResponseStatus() throws InvalidArgumentException
InvalidArgumentException
public TxReadWriteSetInfo getChaincodeActionResponseReadWriteSetInfo() throws InvalidArgumentException
TxReadWriteSetInfo
InvalidArgumentException
Copyright © 2021. All rights reserved.