VStreamMessage

avokka.velocystream.VStreamMessage
final case class VStreamMessage(id: Long, data: ByteVector)

velocystream message in or out

Value parameters

data

data bytes

id

unique identifier

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def chunks(length: Long): Iterable[VStreamChunk]

splits the message in a sequence of chunks

splits the message in a sequence of chunks

Value parameters

length

maximum length of data chunk

Attributes

Returns

iterable of chunks

def firstChunk(length: Long): VStreamChunk

build the first chunk with all data

build the first chunk with all data

Value parameters

length

maximum length in bytes of chunks

Attributes

Returns

first full chunk

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product