tuweni / org.apache.tuweni.scuttlebutt.lib.model / ScuttlebuttMessageContent

ScuttlebuttMessageContent

interface ScuttlebuttMessageContent (source)

Classes that are to be posted to the scuttlebutt feed should implement this interface

Functions

getType

To be serializable to scuttlebutt, its message content must have a 'type' field.

abstract fun getType(): String!

Inheritors

UpdateNameMessage

A message that when persisted to the feed updates the name of the given user

open class UpdateNameMessage : ScuttlebuttMessageContent