Module io.hotmoka.node.api
Package io.hotmoka.node.api.responses
Interface TransactionResponseWithEvents
- All Superinterfaces:
io.hotmoka.marshalling.api.Marshallable,TransactionResponse
- All Known Subinterfaces:
ConstructorCallTransactionExceptionResponse,ConstructorCallTransactionSuccessfulResponse,MethodCallTransactionExceptionResponse,NonVoidMethodCallTransactionSuccessfulResponse,VoidMethodCallTransactionSuccessfulResponse
A response for a transaction that might contain events.
-
Method Summary
Modifier and TypeMethodDescriptionYields the events induced by the execution of this transaction.booleanDetermines if this responses contains at least an event.Methods inherited from interface io.hotmoka.marshalling.api.Marshallable
into, size, toByteArrayMethods 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
-