Interface TransactionResponseWithEvents

All Superinterfaces:
io.hotmoka.marshalling.api.Marshallable, TransactionResponse
All Known Subinterfaces:
ConstructorCallTransactionExceptionResponse, ConstructorCallTransactionSuccessfulResponse, MethodCallTransactionExceptionResponse, NonVoidMethodCallTransactionSuccessfulResponse, VoidMethodCallTransactionSuccessfulResponse

public interface TransactionResponseWithEvents extends TransactionResponse
A response for a transaction that might contain events.
  • Method Summary

    Modifier and Type
    Method
    Description
    Yields the events induced by the execution of this transaction.
    boolean
    Determines if this responses contains at least an event.

    Methods inherited from interface io.hotmoka.marshalling.api.Marshallable

    into, size, toByteArray

    Methods inherited from interface io.hotmoka.node.api.responses.TransactionResponse

    equals, hashCode, toString
  • Method Details

    • getEvents

      Stream<StorageReference> getEvents()
      Yields the events induced by the execution of this transaction.
      Returns:
      the events
    • hasEvents

      boolean hasEvents()
      Determines if this responses contains at least an event.
      Returns:
      true if and only if that condition holds