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(InputStream stream) |
void |
readValue(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 List<PropertyValue> |
writeProperties(OutputStream stream)
Writes the header of the properties.
|
void |
writeValue(OutputStream stream)
Writes the value of this chunk back out again.
|
getEntryName, getMaxRecordLength, getProperties, getRawProperties, getRawValue, getValues, matchVariableSizedPropertiesToChunks, setMaxRecordLength, setProperty, writeNodeData, writePreCalculatedProperties, 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(InputStream stream) throws IOException
readProperties in class PropertiesChunkIOExceptionpublic void readValue(InputStream value) throws IOException
ChunkreadValue in class ChunkIOExceptionprotected List<PropertyValue> writeProperties(OutputStream stream) throws IOException
PropertiesChunkwriteProperties in class PropertiesChunkstream - The OutputStream.IOException - If an I/O error occurs.public void writeValue(OutputStream stream) throws IOException
ChunkwriteValue in class ChunkIOException