- Companion:
- class
Type members
Value members
Concrete methods
Constructor for EventData when metadata is not required.
Constructor for EventData when metadata is not required.
- Value parameters:
- contentType
the ContentType of encoded data and metadata.
- data
a scodec.bits.ByteVector of encoded data.
- eventId
unique identifier for the event.
- eventType
the EventType for the event.
Constructor for EventData when the event type is a string and metadata is not required. Returns either InvalidInput or EventType.
Constructor for EventData when the event type is a string and metadata is not required. Returns either InvalidInput or EventType.
- Value parameters:
- contentType
the ContentType of encoded data and metadata.
- data
a scodec.bits.ByteVector of encoded data.
- eventId
unique identifier for the event.
- eventType
string value for EventType.
Constructor for EventData when the event type is a string.
Constructor for EventData when the event type is a string.
- Value parameters:
- contentType
the ContentType of encoded data and metadata.
- data
a scodec.bits.ByteVector of encoded data.
- eventId
unique identifier for the event.
- eventType
string value for EventType.
- metadata
a scodec.bits.ByteVector of encoded metadata.