Interface Application<E extends io.mokamint.node.api.PublicNode>

Type Parameters:
E - the type of the underlying Mokamint engine
All Superinterfaces:
io.mokamint.application.api.Application, AutoCloseable, io.hotmoka.closeables.api.OnCloseHandlersContainer

public interface Application<E extends io.mokamint.node.api.PublicNode> extends io.mokamint.application.api.Application
An application for the Mokamint engine, that supports a Hotmoka node. It is connected to the Hotmoka node, which is accessible via the getNode() method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Yields the Hotmoka node connected to this application.

    Methods inherited from interface io.mokamint.application.api.Application

    abortBlock, beginBlock, checkPrologExtra, checkTransaction, close, commitBlock, deliverTransaction, endBlock, getInitialStateId, getPriority, getRepresentation, keepFrom, publish

    Methods inherited from interface io.hotmoka.closeables.api.OnCloseHandlersContainer

    addOnCloseHandler, removeOnCloseHandler
  • Method Details

    • getNode

      MokamintNode<E> getNode()
      Yields the Hotmoka node connected to this application.
      Returns:
      the Hotmoka node connected to this application