public class RttMeasurementFlyweight extends HeaderFlyweight
RTT Measurement Frame Header wiki page.
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_LENGTH |
static short |
REPLY_FLAG |
CURRENT_VERSION, FLAGS_FIELD_OFFSET, FRAME_LENGTH_FIELD_OFFSET, HDR_TYPE_DATA, HDR_TYPE_ERR, HDR_TYPE_EXT, HDR_TYPE_NAK, HDR_TYPE_PAD, HDR_TYPE_RTTM, HDR_TYPE_SETUP, HDR_TYPE_SM, MIN_HEADER_LENGTH, TYPE_FIELD_OFFSET, VERSION_FIELD_OFFSET
Constructor and Description |
---|
RttMeasurementFlyweight() |
RttMeasurementFlyweight(java.nio.ByteBuffer buffer) |
RttMeasurementFlyweight(org.agrona.concurrent.UnsafeBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
long |
echoTimestampNs() |
RttMeasurementFlyweight |
echoTimestampNs(long timestamp) |
long |
receiverId() |
RttMeasurementFlyweight |
receiverId(long id) |
long |
receptionDelta() |
RttMeasurementFlyweight |
receptionDelta(long delta) |
int |
sessionId()
return session id field
|
RttMeasurementFlyweight |
sessionId(int sessionId)
set session id field
|
int |
streamId()
return stream id field
|
RttMeasurementFlyweight |
streamId(int streamId)
set stream id field
|
java.lang.String |
toString() |
flags, flags, frameLength, frameLength, headerType, headerType, version, version
addIntOrdered, addLongOrdered, addressOffset, boundsCheck, byteArray, byteBuffer, capacity, checkLimit, compareAndSetInt, compareAndSetLong, compareTo, equals, getAndAddInt, getAndAddLong, getAndSetInt, getAndSetLong, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getByteVolatile, getChar, getChar, getCharVolatile, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getIntVolatile, getLong, getLong, getLongVolatile, getShort, getShort, getShortVolatile, getStringAscii, getStringAscii, getStringAscii, getStringUtf8, getStringUtf8, getStringUtf8, getStringWithoutLengthAscii, getStringWithoutLengthUtf8, hashCode, isExpandable, parseIntAscii, parseLongAscii, parseNaturalIntAscii, parseNaturalLongAscii, putByte, putBytes, putBytes, putBytes, putBytes, putBytes, putByteVolatile, putChar, putChar, putCharVolatile, putDouble, putDouble, putFloat, putFloat, putInt, putInt, putIntAscii, putIntOrdered, putIntVolatile, putLong, putLong, putLongAscii, putLongOrdered, putLongVolatile, putNaturalIntAscii, putNaturalIntAsciiFromEnd, putNaturalLongAscii, putNaturalPaddedIntAscii, putShort, putShort, putShortVolatile, putStringAscii, putStringAscii, putStringUtf8, putStringUtf8, putStringUtf8, putStringUtf8, putStringWithoutLengthAscii, putStringWithoutLengthAscii, putStringWithoutLengthUtf8, setMemory, verifyAlignment, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrapAdjustment
public static final short REPLY_FLAG
public static final int HEADER_LENGTH
public RttMeasurementFlyweight()
public RttMeasurementFlyweight(java.nio.ByteBuffer buffer)
public RttMeasurementFlyweight(org.agrona.concurrent.UnsafeBuffer buffer)
public int sessionId()
public RttMeasurementFlyweight sessionId(int sessionId)
sessionId
- field valuepublic int streamId()
public RttMeasurementFlyweight streamId(int streamId)
streamId
- field valuepublic long echoTimestampNs()
public RttMeasurementFlyweight echoTimestampNs(long timestamp)
public long receptionDelta()
public RttMeasurementFlyweight receptionDelta(long delta)
public long receiverId()
public RttMeasurementFlyweight receiverId(long id)
public java.lang.String toString()
toString
in class org.agrona.concurrent.UnsafeBuffer
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.