DataReceivedEvent

data class DataReceivedEvent(requestId: RequestId, timestamp: MonotonicTime, dataLength: Int, encodedDataLength: Int) : Event

Fired when data chunk was received over the network.

Constructors

DataReceivedEvent
Link copied to clipboard
fun DataReceivedEvent(requestId: RequestId, timestamp: MonotonicTime, dataLength: Int, encodedDataLength: Int)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

dataLength
Link copied to clipboard
val dataLength: Int
Data chunk length.
encodedDataLength
Link copied to clipboard
val encodedDataLength: Int
Actual bytes received (might be less than dataLength for compressed encodings).
requestId
Link copied to clipboard
val requestId: RequestId
Request identifier.
timestamp
Link copied to clipboard
val timestamp: MonotonicTime
Timestamp.

Sources

jvm source
Link copied to clipboard