Package org.hyperledger.fabric.sdk
Interface ChaincodeEventListener
-
public interface ChaincodeEventListenerChaincodeEventListener implemented by classes needing to receive chaincode events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreceived(java.lang.String handle, BlockEvent blockEvent, ChaincodeEvent chaincodeEvent)Receiving a chaincode event.
-
-
-
Method Detail
-
received
void received(java.lang.String handle, BlockEvent blockEvent, ChaincodeEvent chaincodeEvent)Receiving a chaincode event. ChaincodeEventListener should not be long lived as they can take up thread resources.- Parameters:
handle- The handle of the chaincode event listener that produced this event.blockEvent- The block event information that contained the chaincode event. SeeBlockEventchaincodeEvent- The chaincode event. seeChaincodeEvent
-
-