Interface ChaincodeEventListener



  • public interface ChaincodeEventListener
    ChaincodeEventListener implemented by classes needing to receive chaincode events.
    • 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. See BlockEvent
        chaincodeEvent - The chaincode event. see ChaincodeEvent