public class MaxRateEncoder
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MaxRateEncoder.SubscriptionsEncoder |
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK_LENGTH |
static java.nio.ByteOrder |
BYTE_ORDER |
protected int |
limit |
protected int |
offset |
static int |
SCHEMA_ID |
static int |
SCHEMA_VERSION |
static int |
TEMPLATE_ID |
| Constructor and Description |
|---|
MaxRateEncoder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
appendTo(java.lang.StringBuilder builder) |
org.agrona.MutableDirectBuffer |
buffer() |
int |
encodedLength() |
int |
limit() |
void |
limit(int limit) |
int |
offset() |
int |
sbeBlockLength() |
int |
sbeSchemaId() |
int |
sbeSchemaVersion() |
java.lang.String |
sbeSemanticType() |
int |
sbeTemplateId() |
MaxRateEncoder.SubscriptionsEncoder |
subscriptionsCount(int count) |
static long |
subscriptionsId() |
java.lang.String |
toString() |
MaxRateEncoder |
wrap(org.agrona.MutableDirectBuffer buffer,
int offset) |
MaxRateEncoder |
wrapAndApplyHeader(org.agrona.MutableDirectBuffer buffer,
int offset,
MessageHeaderEncoder headerEncoder) |
public static final int BLOCK_LENGTH
public static final int TEMPLATE_ID
public static final int SCHEMA_ID
public static final int SCHEMA_VERSION
public static final java.nio.ByteOrder BYTE_ORDER
protected int offset
protected int limit
public int sbeBlockLength()
public int sbeTemplateId()
public int sbeSchemaId()
public int sbeSchemaVersion()
public java.lang.String sbeSemanticType()
public org.agrona.MutableDirectBuffer buffer()
public int offset()
public MaxRateEncoder wrap(org.agrona.MutableDirectBuffer buffer, int offset)
public MaxRateEncoder wrapAndApplyHeader(org.agrona.MutableDirectBuffer buffer, int offset, MessageHeaderEncoder headerEncoder)
public int encodedLength()
public int limit()
public void limit(int limit)
public static long subscriptionsId()
public MaxRateEncoder.SubscriptionsEncoder subscriptionsCount(int count)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder appendTo(java.lang.StringBuilder builder)