public class ImageBuffersReadyFlyweight extends Object
Note: Layout should be SBE 2.0 compliant so that the source identity length is aligned.
| Constructor and Description |
|---|
ImageBuffersReadyFlyweight() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendLogFileName(Appendable appendable)
Append the log file name to an
Appendable. |
void |
appendSourceIdentity(Appendable appendable)
Append the source identity to an
Appendable. |
long |
correlationId()
The correlation id field.
|
ImageBuffersReadyFlyweight |
correlationId(long correlationId)
Set correlation id field.
|
int |
length()
Get the length of the current message
|
String |
logFileName()
The Log Filename in ASCII.
|
ImageBuffersReadyFlyweight |
logFileName(String logFileName)
Set the log filename in ASCII
|
int |
sessionId()
Get the session id field.
|
ImageBuffersReadyFlyweight |
sessionId(int sessionId)
Set session id field.
|
String |
sourceIdentity()
The source identity string in ASCII.
|
ImageBuffersReadyFlyweight |
sourceIdentity(String value)
Set the source identity string in ASCII.
|
int |
streamId()
The stream id field.
|
ImageBuffersReadyFlyweight |
streamId(int streamId)
Set stream id field.
|
int |
subscriberPositionId()
The position counter Id for the subscriber.
|
ImageBuffersReadyFlyweight |
subscriberPositionId(int id)
Set the position counter Id for the subscriber
|
long |
subscriptionRegistrationId()
Return the registration Id for the Subscription.
|
ImageBuffersReadyFlyweight |
subscriptionRegistrationId(long id)
Set the registration Id for the Subscription.
|
ImageBuffersReadyFlyweight |
wrap(MutableDirectBuffer buffer,
int offset)
Wrap the buffer at a given offset for updates.
|
public final ImageBuffersReadyFlyweight wrap(MutableDirectBuffer buffer, int offset)
buffer - to wrap.offset - at which the message begins.public long correlationId()
public ImageBuffersReadyFlyweight correlationId(long correlationId)
correlationId - field value.public int sessionId()
public ImageBuffersReadyFlyweight sessionId(int sessionId)
sessionId - field value.public int streamId()
public ImageBuffersReadyFlyweight streamId(int streamId)
streamId - field value.public ImageBuffersReadyFlyweight subscriberPositionId(int id)
id - for the subscriber position counterpublic int subscriberPositionId()
public ImageBuffersReadyFlyweight subscriptionRegistrationId(long id)
id - for the Subscription.public long subscriptionRegistrationId()
public String logFileName()
public void appendLogFileName(Appendable appendable)
Appendable.appendable - to append log file name to.public ImageBuffersReadyFlyweight logFileName(String logFileName)
logFileName - for the image.public String sourceIdentity()
public void appendSourceIdentity(Appendable appendable)
Appendable.appendable - to append source identity to.public ImageBuffersReadyFlyweight sourceIdentity(String value)
Note: Can be called only after log file name was set!
value - for the source identity.logFileName(String)public int length()
NB: must be called after the data is written in order to be accurate.
Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.