StreamingToken

Represents an individual streamed token.

Inheritors

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class MessageStreamingToken(val sequenceNumber: Int, val timestamp: Long, val targetMessageIdentifier: String, val token: StreamingTokenMessageFormat) : StreamingToken

A streamed token which contains part of a full message.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class StreamingTokenValidation(val sequenceNumber: Int, val timestamp: Long, val targetMessageIdentifier: String, val result: StreamingTokenValidationResult) : StreamingToken

Streamed token which identifies a previously streamed token as being invalid.

Properties

Link copied to clipboard
abstract override val sequenceNumber: Int
Link copied to clipboard
abstract override val timestamp: Long
Link copied to clipboard
abstract override val tokenType: StreamingTokenType