public class FixPRejectRefIdExtractor
extends java.lang.Object
AbstractFixPOffsets.loadSbeIr(Class, String) or IrDecoder.decode();
Call the search method with a buffer in order to find the reject ref id for a given FIXP message.
Single threaded.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLORDID |
static java.lang.String |
MESSAGE_TYPE |
static int |
MISSING_OFFSET |
| Constructor and Description |
|---|
FixPRejectRefIdExtractor(uk.co.real_logic.sbe.ir.Ir ir) |
| Modifier and Type | Method and Description |
|---|---|
int |
length()
Get the length of the client order id within the buffer passed to
search(DirectBuffer, int). |
long |
messageType()
Get the message type of the message in question.
|
int |
offset()
Get the offset of the client order id within the buffer passed to
search(DirectBuffer, int). |
boolean |
search(org.agrona.DirectBuffer buffer,
int offset)
Call to search a buffer for a given client order id if the message in question exists.
|
int |
templateId()
Get the template id of the message in question.
|
int |
templateId(org.agrona.DirectBuffer buffer,
int headerOffset) |
public static final int MISSING_OFFSET
public static final java.lang.String MESSAGE_TYPE
public static final java.lang.String CLORDID
public FixPRejectRefIdExtractor(uk.co.real_logic.sbe.ir.Ir ir)
public boolean search(org.agrona.DirectBuffer buffer,
int offset)
buffer - a buffer containing a messageoffset - an offset into the buffer at the start of the SOFH.public int templateId(org.agrona.DirectBuffer buffer,
int headerOffset)
public int templateId()
MISSING_OFFSET.
You need to call search in order for this field to be populated.public int offset()
search(DirectBuffer, int).
If it doesn't exist then returns MISSING_OFFSET.
You need to call search in order for this field to be populated.public int length()
search(DirectBuffer, int).
If it doesn't exist then returns MISSING_OFFSET.
You need to call search in order for this field to be populated.public long messageType()
MISSING_OFFSET.
You need to call search in order for this field to be populated.Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.