Interface GenericJarStoreTransactionRequest<R extends GenericJarStoreTransactionResponse>

Type Parameters:
R - the type of the response expected for this request
All Superinterfaces:
io.hotmoka.marshalling.api.Marshallable, TransactionRequest<R>
All Known Subinterfaces:
JarStoreInitialTransactionRequest, JarStoreTransactionRequest

public interface GenericJarStoreTransactionRequest<R extends GenericJarStoreTransactionResponse> extends TransactionRequest<R>
A request for a transaction that installs a jar in a node.
  • Method Details

    • getJar

      byte[] getJar()
      Yields the bytes of the jar to install.
      Returns:
      the bytes of the jar to install
    • getJarLength

      int getJarLength()
      Yields the length, in bytes, of the jar to install.
      Returns:
      the length
    • getDependencies

      Stream<TransactionReference> getDependencies()
      Yields the dependencies of the jar to install.
      Returns:
      the dependencies, as an ordered stream
    • getNumberOfDependencies

      int getNumberOfDependencies()
      Yields the number of dependencies.
      Returns:
      the number of dependencies