public class StatusMessageFlyweight extends HeaderFlyweight
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_LENGTH
Length of the Status Message Packet
|
static short |
SEND_SETUP_FLAG
Publisher should send SETUP frame
|
CURRENT_VERSION, EMPTY_BUFFER, FLAGS_FIELD_OFFSET, FRAME_LENGTH_FIELD_OFFSET, HDR_TYPE_DATA, HDR_TYPE_ERR, HDR_TYPE_EXT, HDR_TYPE_NAK, HDR_TYPE_PAD, HDR_TYPE_SETUP, HDR_TYPE_SM, TYPE_FIELD_OFFSET, VERSION_FIELD_OFFSET| Constructor and Description |
|---|
StatusMessageFlyweight() |
StatusMessageFlyweight(java.nio.ByteBuffer buffer) |
StatusMessageFlyweight(org.agrona.concurrent.UnsafeBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
consumptionTermId()
return highest consumption term id field
|
StatusMessageFlyweight |
consumptionTermId(int termId)
set highest consumption term id field
|
int |
consumptionTermOffset()
return highest consumption term offset field
|
StatusMessageFlyweight |
consumptionTermOffset(int termOffset)
set highest consumption term offset field
|
int |
receiverWindowLength()
return receiver window field
|
StatusMessageFlyweight |
receiverWindowLength(int receiverWindowLength)
set receiver window field
|
int |
sessionId()
return session id field
|
StatusMessageFlyweight |
sessionId(int sessionId)
set session id field
|
int |
streamId()
return stream id field
|
StatusMessageFlyweight |
streamId(int streamId)
set stream id field
|
java.lang.String |
toString() |
flags, flags, frameLength, frameLength, headerType, headerType, version, versionaddIntOrdered, 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, getStringUtf8, getStringUtf8, getStringUtf8, getStringWithoutLengthUtf8, hashCode, isExpandable, putByte, putBytes, putBytes, putBytes, putBytes, putBytes, putByteVolatile, putChar, putChar, putCharVolatile, putDouble, putDouble, putFloat, putFloat, putInt, putInt, putIntOrdered, putIntVolatile, putLong, putLong, putLongOrdered, putLongVolatile, putShort, putShort, putShortVolatile, putStringUtf8, putStringUtf8, putStringUtf8, putStringUtf8, putStringWithoutLengthUtf8, setMemory, verifyAlignment, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrapAdjustmentpublic static final int HEADER_LENGTH
public static final short SEND_SETUP_FLAG
public StatusMessageFlyweight()
public StatusMessageFlyweight(java.nio.ByteBuffer buffer)
public StatusMessageFlyweight(org.agrona.concurrent.UnsafeBuffer buffer)
public int sessionId()
public StatusMessageFlyweight sessionId(int sessionId)
sessionId - field valuepublic int streamId()
public StatusMessageFlyweight streamId(int streamId)
streamId - field valuepublic int consumptionTermOffset()
public StatusMessageFlyweight consumptionTermOffset(int termOffset)
termOffset - field valuepublic int consumptionTermId()
public StatusMessageFlyweight consumptionTermId(int termId)
termId - field valuepublic int receiverWindowLength()
public StatusMessageFlyweight receiverWindowLength(int receiverWindowLength)
receiverWindowLength - field valuepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.