Query

class Query(    val data: IMessageBufferReader,     val tag: String,     val category: Int) : Message

Query is a request from one side of the peer connection for some piece of data known by the other side of the peer connection.

Parameters

data

the data in the Query.

tag

A string which helps identify the content of the Query.

category

A user-defined integer which helps identify the function of the Query.

Constructors

Link copied to clipboard
fun Query(    data: IMessageBufferReader,     tag: String,     category: Int)

Construct a Query.

Properties

Link copied to clipboard
val category: Int

A user-defined integer which helps identify the function of the Message.

Link copied to clipboard
val data: IMessageBufferReader

A data payload in the Message.

Link copied to clipboard
val id: String

Unique identifier for the Message

Link copied to clipboard
val tag: String

A string which identifies the content type of the Message.

Link copied to clipboard
open override val type: Byte

Byte which identifies the contained data as being a query