EventWire

org.sigilaris.node.jvm.transport.armeria.gossip.EventWire
See theEventWire companion object
final case class EventWire[A](chainId: String, topic: String, id: String, cursor: String, ts: Long, payload: A)

Wire format for a single gossip event carrying an artifact payload.

Type parameters

A

the payload type

Value parameters

chainId

chain identifier the event belongs to

cursor

Base64URL-encoded cursor token marking this event's position

id

hex-encoded stable artifact identifier

payload

the artifact payload

topic

gossip topic the event belongs to

ts

event timestamp as epoch milliseconds

Attributes

Companion
object
Source
TxGossipWire.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product