public class RemoveMessageFlyweight extends CorrelatedMessageFlyweight
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Client ID | | | +---------------------------------------------------------------+ | Command Correlation ID | | | +---------------------------------------------------------------+ | Registration ID | | | +---------------------------------------------------------------+
LENGTH| Constructor and Description |
|---|
RemoveMessageFlyweight() |
| Modifier and Type | Method and Description |
|---|---|
static int |
length()
Length of the message in bytes.
|
long |
registrationId()
Get the registration id field.
|
RemoveMessageFlyweight |
registrationId(long registrationId)
Set registration id field.
|
void |
validateLength(int msgTypeId,
int length)
Validate buffer length is long enough for message.
|
RemoveMessageFlyweight |
wrap(MutableDirectBuffer buffer,
int offset)
Wrap the buffer at a given offset for updates.
|
clientId, clientId, correlationId, correlationIdpublic RemoveMessageFlyweight wrap(MutableDirectBuffer buffer, int offset)
wrap in class CorrelatedMessageFlyweightbuffer - to wrap.offset - at which the message begins.public long registrationId()
public RemoveMessageFlyweight registrationId(long registrationId)
registrationId - field value.public static int length()
public void validateLength(int msgTypeId,
int length)
validateLength in class CorrelatedMessageFlyweightmsgTypeId - type of message.length - of message in bytes to validate.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.