Index

A B C D E G I K N P U V 
All Classes and Interfaces|All Packages|Serialized Form

A

abortBlock(int) - Method in interface io.mokamint.application.api.Application
The node calls this method to abort the execution of the group of transactions identified by id.
Application - Interface in io.mokamint.application.api
An application for the Mokamint blockchain.

B

beginBlock(long, LocalDateTime, byte[]) - Method in interface io.mokamint.application.api.Application
The node calls this method at the start of the execution of the transactions inside a block.

C

checkPrologExtra(byte[]) - Method in interface io.mokamint.application.api.Application
Checks if the given extra data from the prolog of a deadline is considered valid by this application.
checkTransaction(Transaction) - Method in interface io.mokamint.application.api.Application
Checks if the given transaction is valid according to this application.
close() - Method in interface io.mokamint.application.api.Application
Closes this application.
ClosedApplicationException - Exception Class in io.mokamint.application.api
An exception stating that an application is closed and cannot perform the request.
ClosedApplicationException() - Constructor for exception class io.mokamint.application.api.ClosedApplicationException
Creates a new exception.
ClosedApplicationException(String) - Constructor for exception class io.mokamint.application.api.ClosedApplicationException
Creates a new exception with the given message.
ClosedApplicationException(String, Throwable) - Constructor for exception class io.mokamint.application.api.ClosedApplicationException
Creates a new exception with the given message and cause.
ClosedApplicationException(Throwable) - Constructor for exception class io.mokamint.application.api.ClosedApplicationException
Creates a new exception with the given cause.
commitBlock(int) - Method in interface io.mokamint.application.api.Application
The node calls this method to commit the state resulting at the end of the execution of the group of transactions identified by id.

D

deliverTransaction(int, Transaction) - Method in interface io.mokamint.application.api.Application
Delivers another transaction inside the group execution identified by id.
Description - Annotation Interface in io.mokamint.application.api
An annotation for applications, providing their description.

E

endBlock(int, Deadline) - Method in interface io.mokamint.application.api.Application
The node calls this method when a group execution of transactions ends.

G

getInitialStateId() - Method in interface io.mokamint.application.api.Application
Yields the identifier of the state of this application when it starts, before any transaction has been executed.
getPriority(Transaction) - Method in interface io.mokamint.application.api.Application
Computes the priority of the given transaction.
getRepresentation(Transaction) - Method in interface io.mokamint.application.api.Application
Yields a string representation of the transaction, that can be used to print or process its structure.

I

io.mokamint.application.api - module io.mokamint.application.api
This module defines the API of an application run on a Mokamint blockchain.
io.mokamint.application.api - package io.mokamint.application.api
 

K

keepFrom(LocalDateTime) - Method in interface io.mokamint.application.api.Application
Informs the application that states of blocks created with a Application.beginBlock(long, LocalDateTime, byte[]) whose when parameter is before start are allowed to be garbage-collected, if the application has some notion of garbage-collection.

N

Name - Annotation Interface in io.mokamint.application.api
An annotation for applications, providing their external name, as seen by the users of Mokamint.

P

publish(Block) - Method in interface io.mokamint.application.api.Application
Publishes the given block, that has just been added to the blockchain.

U

UnknownGroupIdException - Exception Class in io.mokamint.application.api
An exception stating that a transaction group identifier is unknown to the application.
UnknownGroupIdException(String) - Constructor for exception class io.mokamint.application.api.UnknownGroupIdException
Creates a new exception with the given message.
UnknownStateException - Exception Class in io.mokamint.application.api
An exception stating that a state identifier is unknown to the application.
UnknownStateException() - Constructor for exception class io.mokamint.application.api.UnknownStateException
Creates a new exception.
UnknownStateException(String) - Constructor for exception class io.mokamint.application.api.UnknownStateException
Creates a new exception with the given message.
UnknownStateException(String, Throwable) - Constructor for exception class io.mokamint.application.api.UnknownStateException
Creates a new exception with the given message and cause.
UnknownStateException(Throwable) - Constructor for exception class io.mokamint.application.api.UnknownStateException
Creates a new exception with the given cause.

V

value() - Element in annotation interface io.mokamint.application.api.Description
Yields the description of an application.
value() - Element in annotation interface io.mokamint.application.api.Name
Yields the name of an application, as it is seen by the users of Mokamint.
A B C D E G I K N P U V 
All Classes and Interfaces|All Packages|Serialized Form