java.lang.Object
io.mokamint.application.messages.PublishMessages

public abstract class PublishMessages extends Object
A provider of PublishMessage.
  • Method Details

    • of

      public static PublishMessage of(io.mokamint.node.api.Block block, String id)
      Yields a PublishMessage.
      Parameters:
      block - the block that must be published
      id - the identifier of the message
      Returns:
      the message