scuttlebutt-client-lib / 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

abstract fun getType(): String

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

Inheritors

UpdateNameMessage

open class UpdateNameMessage : ScuttlebuttMessageContent

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