com.tibbo.aggregate.common.protocol

## Class CommandData.Body

- java.lang.Object
- - com.tibbo.aggregate.common.protocol.CommandData.Header
  - - com.tibbo.aggregate.common.protocol.CommandData.Body

- Enclosing class:
    CommandData

      public class CommandData.Body
      extends CommandData.Header

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected java.nio.ByteBuffer` | `contents`
    `protected java.lang.Byte` | `type`

    - ### Fields inherited from class com.tibbo.aggregate.common.protocol.CommandData.Header

      `LENGTH_SIZE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Body()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `append(byte nextByte)`
    `byte[]` | `getContents()`
    `java.lang.Byte` | `getType()`
    `boolean` | `isCompleted()`
    `void` | `resetFor(int length)`

    - ### Methods inherited from class com.tibbo.aggregate.common.protocol.CommandData.Header

      `getLength, reset`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### type

          protected java.lang.Byte type

    - #### contents

          protected java.nio.ByteBuffer contents

  - ### Constructor Detail

    - #### Body

          public Body()

  - ### Method Detail

    - #### append

          public void append(byte nextByte)

      Overrides:
        `append` in class `CommandData.Header`

    - #### isCompleted

          public boolean isCompleted()

      Overrides:
        `isCompleted` in class `CommandData.Header`

    - #### resetFor

          public void resetFor(int length)

    - #### getType

          public java.lang.Byte getType()

    - #### getContents

          public byte[] getContents()