Module io.hotmoka.node.api
Package io.hotmoka.node.api.responses
Interface JarStoreTransactionResponseWithInstrumentedJar
- All Superinterfaces:
GenericJarStoreTransactionResponse,io.hotmoka.marshalling.api.Marshallable,TransactionResponse
- All Known Subinterfaces:
JarStoreInitialTransactionResponse,JarStoreTransactionSuccessfulResponse
public interface JarStoreTransactionResponseWithInstrumentedJar
extends GenericJarStoreTransactionResponse
A response for a transaction that successfully installed a jar in a node.
-
Method Summary
Modifier and TypeMethodDescriptionYields the dependencies of the jar, previously installed in the store of the node.byte[]Yields the bytes of the installed jar.intYields the size of the instrumented jar, in bytes.longYields the version of the verification module that was used to verify the jar.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
-
getInstrumentedJar
byte[] getInstrumentedJar()Yields the bytes of the installed jar.- Returns:
- the bytes of the installed jar
-
getInstrumentedJarLength
int getInstrumentedJarLength()Yields the size of the instrumented jar, in bytes.- Returns:
- the size
-
getDependencies
Stream<TransactionReference> getDependencies()Yields the dependencies of the jar, previously installed in the store of the node.- Returns:
- the dependencies
-
getVerificationVersion
long getVerificationVersion()Yields the version of the verification module that was used to verify the jar.- Returns:
- the version
-