Class MessagePropertiesChunk

    • Constructor Detail

      • MessagePropertiesChunk

        public MessagePropertiesChunk​(ChunkGroup parentGroup)
      • MessagePropertiesChunk

        public MessagePropertiesChunk​(ChunkGroup parentGroup,
                                      boolean isEmbedded)
    • Method Detail

      • getNextRecipientId

        public long getNextRecipientId()
      • getNextAttachmentId

        public long getNextAttachmentId()
      • getRecipientCount

        public long getRecipientCount()
      • getAttachmentCount

        public long getAttachmentCount()
      • setNextRecipientId

        public void setNextRecipientId​(long nextRecipientId)
      • setNextAttachmentId

        public void setNextAttachmentId​(long nextAttachmentId)
      • setRecipientCount

        public void setRecipientCount​(long recipientCount)
      • setAttachmentCount

        public void setAttachmentCount​(long attachmentCount)
      • readProperties

        protected void readProperties​(java.io.InputStream stream)
                               throws java.io.IOException
        Overrides:
        readProperties in class PropertiesChunk
        Throws:
        java.io.IOException
      • readValue

        public void readValue​(java.io.InputStream value)
                       throws java.io.IOException
        Description copied from class: Chunk
        Reads the value of this chunk using an InputStream
        Specified by:
        readValue in class Chunk
        Throws:
        java.io.IOException
      • writeProperties

        protected java.util.List<PropertyValue> writeProperties​(java.io.OutputStream stream)
                                                         throws java.io.IOException
        Description copied from class: PropertiesChunk
        Writes the header of the properties.
        Overrides:
        writeProperties in class PropertiesChunk
        Parameters:
        stream - The OutputStream.
        Returns:
        The variable-length properties that need to be written in another node.
        Throws:
        java.io.IOException - If an I/O error occurs.
      • writeValue

        public void writeValue​(java.io.OutputStream stream)
                        throws java.io.IOException
        Description copied from class: Chunk
        Writes the value of this chunk back out again.
        Specified by:
        writeValue in class Chunk
        Throws:
        java.io.IOException