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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article