Class ChaincodeEvent



  • public class ChaincodeEvent
    extends java.lang.Object
    Encapsulates a Chaincode event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getChaincodeId​()
      Get Chaincode identifier.
      java.lang.String getEventName​()
      Get Chaincode event's name;
      byte[] getPayload​()
      Binary data associated with this event.
      java.lang.String getTxId​()
      Get transaction id associated with this event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getEventName

        public java.lang.String getEventName​()
        Get Chaincode event's name;
        Returns:
        Return name;
      • getChaincodeId

        public java.lang.String getChaincodeId​()
        Get Chaincode identifier.
        Returns:
        The identifier
      • getTxId

        public java.lang.String getTxId​()
        Get transaction id associated with this event.
        Returns:
        The transactions id.
      • getPayload

        public byte[] getPayload​()
        Binary data associated with this event.
        Returns:
        binary data set by the chaincode for this event. This may return null.