PollResult

data class PollResult(val items: List<Pair<TopicName, ByteArray>>, val contextAvailabilityChanges: List<Pair<String, Boolean>>) : Command.Response

Constructors

Link copied to clipboard
constructor(items: List<Pair<TopicName, ByteArray>>, contextAvailabilityChanges: List<Pair<String, Boolean>>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun serialize(): ByteArray

Method to serialize the given command into a ByteArray. The serialization logic needs to be in sync with the de-serialization logic in the parseCommand method.

Link copied to clipboard
open override fun toString(): String