public class ImageBuffersReadyFlyweight
extends java.lang.Object
| Constructor and Description |
|---|
ImageBuffersReadyFlyweight() |
| Modifier and Type | Method and Description |
|---|---|
long |
correlationId()
return correlation id field
|
ImageBuffersReadyFlyweight |
correlationId(long correlationId)
set correlation id field
|
int |
length()
Get the length of the current message
NB: must be called after the data is written in order to be accurate.
|
java.lang.String |
logFileName()
Return the Log Filename in ASCII
|
ImageBuffersReadyFlyweight |
logFileName(java.lang.String logFileName)
Set the log filename in ASCII
|
long |
positionIndicatorRegistrationId(int index)
Return the registration Id for the subscriber position
|
ImageBuffersReadyFlyweight |
positionIndicatorRegistrationId(int index,
long id)
Set the registration Id for the subscriber position
|
int |
sessionId()
return session id field
|
ImageBuffersReadyFlyweight |
sessionId(int sessionId)
set session id field
|
java.lang.String |
sourceIdentity()
Return the source identity string in ASCII
|
ImageBuffersReadyFlyweight |
sourceIdentity(java.lang.String value)
Set the source identity string in ASCII
|
int |
streamId()
return stream id field
|
ImageBuffersReadyFlyweight |
streamId(int streamId)
set stream id field
|
int |
subscriberPositionCount()
return the number of position indicators
|
ImageBuffersReadyFlyweight |
subscriberPositionCount(int value)
set the number of position indicators
|
int |
subscriberPositionId(int index)
Return the position Id for the subscriber
|
ImageBuffersReadyFlyweight |
subscriberPositionId(int index,
int id)
Set the position Id for the subscriber
|
ImageBuffersReadyFlyweight |
wrap(org.agrona.MutableDirectBuffer buffer,
int offset)
Wrap the buffer at a given offset for updates.
|
public final ImageBuffersReadyFlyweight wrap(org.agrona.MutableDirectBuffer buffer, int offset)
buffer - to wrapoffset - at which the message begins.public long correlationId()
public ImageBuffersReadyFlyweight correlationId(long correlationId)
correlationId - field valuepublic int sessionId()
public ImageBuffersReadyFlyweight sessionId(int sessionId)
sessionId - field valuepublic int streamId()
public ImageBuffersReadyFlyweight streamId(int streamId)
streamId - field valuepublic int subscriberPositionCount()
public ImageBuffersReadyFlyweight subscriberPositionCount(int value)
value - the number of position indicatorspublic ImageBuffersReadyFlyweight subscriberPositionId(int index, int id)
index - for the subscriber positionid - for the subscriber positionpublic int subscriberPositionId(int index)
index - for the subscriber positionpublic ImageBuffersReadyFlyweight positionIndicatorRegistrationId(int index, long id)
index - for the subscriber positionid - for the subscriber positionpublic long positionIndicatorRegistrationId(int index)
index - for the subscriber positionpublic java.lang.String logFileName()
public ImageBuffersReadyFlyweight logFileName(java.lang.String logFileName)
logFileName - for the imagepublic java.lang.String sourceIdentity()
public ImageBuffersReadyFlyweight sourceIdentity(java.lang.String value)
value - for the source identitypublic int length()
Copyright © 2014-2017 Real Logic Ltd. All Rights Reserved.