public class ImageMessageFlyweight
extends java.lang.Object
| Constructor and Description |
|---|
ImageMessageFlyweight() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
channel()
Get the channel field as ASCII
|
ImageMessageFlyweight |
channel(java.lang.String channel)
Set the channel field as ASCII
|
long |
correlationId()
return correlation id field
|
ImageMessageFlyweight |
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.
|
int |
streamId()
return stream id field
|
ImageMessageFlyweight |
streamId(int streamId)
set stream id field
|
ImageMessageFlyweight |
wrap(org.agrona.MutableDirectBuffer buffer,
int offset)
Wrap the buffer at a given offset for updates.
|
public final ImageMessageFlyweight wrap(org.agrona.MutableDirectBuffer buffer, int offset)
buffer - to wrapoffset - at which the message begins.public long correlationId()
public ImageMessageFlyweight correlationId(long correlationId)
correlationId - field valuepublic int streamId()
public ImageMessageFlyweight streamId(int streamId)
streamId - field valuepublic java.lang.String channel()
public ImageMessageFlyweight channel(java.lang.String channel)
channel - field valuepublic int length()
Copyright © 2014-2017 Real Logic Ltd. All Rights Reserved.