object EventData extends Serializable
- Alphabetic
- By Inheritance
- EventData
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(eventType: String, eventId: UUID, data: ByteVector, metadata: ByteVector, contentType: ContentType): Either[InvalidInput, EventData]
Constructor for EventData when the event type is a string.
Constructor for EventData when the event type is a string.
- eventType
string value for EventType.
- eventId
unique identifier for the event.
- data
a scodec.bits.ByteVector of encoded data.
- metadata
a scodec.bits.ByteVector of encoded metadata.
- contentType
the ContentType of encoded data and metadata.
- def apply(eventType: String, eventId: UUID, data: ByteVector, contentType: ContentType): Either[InvalidInput, EventData]
Constructor for EventData when the event type is a string and metadata is not required.
Constructor for EventData when the event type is a string and metadata is not required. Returns either InvalidInput or EventType.
- eventType
string value for EventType.
- eventId
unique identifier for the event.
- data
a scodec.bits.ByteVector of encoded data.
- contentType
the ContentType of encoded data and metadata.
- def apply(eventType: EventType, eventId: UUID, data: ByteVector, contentType: ContentType): EventData
Constructor for EventData when metadata is not required.
Constructor for EventData when metadata is not required.
- eventType
the EventType for the event.
- eventId
unique identifier for the event.
- data
a scodec.bits.ByteVector of encoded data.
- contentType
the ContentType of encoded data and metadata.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated