Package org.agrona.sbe
Interface MessageFlyweight
-
- All Superinterfaces:
Flyweight
- All Known Subinterfaces:
MessageDecoderFlyweight
,MessageEncoderFlyweight
public interface MessageFlyweight extends Flyweight
Common behaviour to SBE Message encoder and decoder flyweights.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
limit()
The current limit in the buffer at which the message is being encoded or decoded.void
limit(int limit)
The current limit in the buffer at which the message is being encoded or decoded.int
sbeBlockLength()
The length of the root block in bytes.java.lang.String
sbeSemanticType()
The semantic type of the message which is typically the semantic equivalent in the FIX repository.int
sbeTemplateId()
The SBE template identifier for the message.-
Methods inherited from interface org.agrona.sbe.Flyweight
buffer, encodedLength, offset, sbeSchemaId, sbeSchemaVersion
-
-
-
-
Method Detail
-
sbeBlockLength
int sbeBlockLength()
The length of the root block in bytes.- Returns:
- the length of the root block in bytes.
-
sbeTemplateId
int sbeTemplateId()
The SBE template identifier for the message.- Returns:
- the SBE template identifier for the message.
-
sbeSemanticType
java.lang.String sbeSemanticType()
The semantic type of the message which is typically the semantic equivalent in the FIX repository.- Returns:
- the semantic type of the message which is typically the semantic equivalent in the FIX repository.
-
limit
int limit()
The current limit in the buffer at which the message is being encoded or decoded.- Returns:
- the current limit in the buffer at which the message is being encoded or decoded.
-
limit
void limit(int limit)
The current limit in the buffer at which the message is being encoded or decoded.- Parameters:
limit
- in the buffer at which the message is being encoded or decoded.
-
-