public class MessagePropertiesChunk extends PropertiesChunk
PropertiesChunk for a Message or Embedded-Message. This has a 32
byte headerNAME, PROPERTIES_FLAG_READABLE, PROPERTIES_FLAG_WRITEABLE, VARIABLE_LENGTH_PROPERTY_PREFIXDEFAULT_NAME_PREFIX| Constructor and Description |
|---|
MessagePropertiesChunk(ChunkGroup parentGroup) |
MessagePropertiesChunk(ChunkGroup parentGroup,
boolean isEmbedded) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAttachmentCount() |
long |
getNextAttachmentId() |
long |
getNextRecipientId() |
long |
getRecipientCount() |
protected void |
readProperties(java.io.InputStream stream) |
void |
readValue(java.io.InputStream value)
Reads the value of this chunk using an InputStream
|
void |
setAttachmentCount(long attachmentCount) |
void |
setNextAttachmentId(long nextAttachmentId) |
void |
setNextRecipientId(long nextRecipientId) |
void |
setRecipientCount(long recipientCount) |
protected java.util.List<PropertyValue> |
writeProperties(java.io.OutputStream stream)
Writes the header of the properties.
|
void |
writeValue(java.io.OutputStream stream)
Writes the value of this chunk back out again.
|
getEntryName, getProperties, getRawProperties, getRawValue, getValues, matchVariableSizedPropertiesToChunks, setProperty, writeNodeData, writePropertiesgetChunkId, getTypepublic MessagePropertiesChunk(ChunkGroup parentGroup)
public MessagePropertiesChunk(ChunkGroup parentGroup, boolean isEmbedded)
public long getNextRecipientId()
public long getNextAttachmentId()
public long getRecipientCount()
public long getAttachmentCount()
public void setNextRecipientId(long nextRecipientId)
public void setNextAttachmentId(long nextAttachmentId)
public void setRecipientCount(long recipientCount)
public void setAttachmentCount(long attachmentCount)
protected void readProperties(java.io.InputStream stream)
throws java.io.IOException
readProperties in class PropertiesChunkjava.io.IOExceptionpublic void readValue(java.io.InputStream value)
throws java.io.IOException
Chunkprotected java.util.List<PropertyValue> writeProperties(java.io.OutputStream stream) throws java.io.IOException
PropertiesChunkwriteProperties in class PropertiesChunkstream - The OutputStream.java.io.IOException - If an I/O error occurs.public void writeValue(java.io.OutputStream stream)
throws java.io.IOException
ChunkwriteValue in class Chunkjava.io.IOExceptionCopyright 2021 The Apache Software Foundation or its licensors, as applicable.