scuttlebutt-client-lib / org.apache.tuweni.scuttlebutt.lib.model

Package org.apache.tuweni.scuttlebutt.lib.model

Types

Author

open class Author

A post author

FeedMessage

open class FeedMessage

A scuttlebutt feed message

FeedMessageDeserializer

open class FeedMessageDeserializer : JsonDeserializer<FeedMessage>

FeedValue

open class FeedValue

The metadata and contents of a message

Peer

open class Peer

PeerStateChange

open class PeerStateChange

Profile

open class Profile

Represents a user profile.

ScuttlebuttMessageContent

interface ScuttlebuttMessageContent

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

StreamHandler

interface StreamHandler<T : Any>

UpdateNameMessage

open class UpdateNameMessage : ScuttlebuttMessageContent

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

Exceptions

CouldNotSerializeException

open class CouldNotSerializeException : RuntimeException