EventEnvelopeWire

org.sigilaris.node.jvm.transport.armeria.gossip.EventEnvelopeWire
See theEventEnvelopeWire companion object
final case class EventEnvelopeWire[A](kind: String, sessionId: String, atEpochMs: Option[Long], event: Option[EventWire[A]], rejection: Option[RejectionWire])

Wire format for an event stream envelope, which may carry an event, keep-alive, or rejection.

Type parameters

A

the event payload type

Value parameters

atEpochMs

optional epoch milliseconds for keep-alive envelopes

event

optional event payload when kind is "event"

kind

envelope kind (e.g. "event", "keepAlive", "rejection")

rejection

optional rejection payload when kind is "rejection"

sessionId

session identifier this envelope belongs to

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