public void setLastChunk(boolean lastChunk) {
    // TODO:hitesh now it should send security header(connectionID)
    if (lastChunk) {
      this.lastChunk = 0X01;
      setFESpecialCase();
    } else {
      this.lastChunk = 0X00;
    }
  }
Sets whether this is the last chunk.

@param lastChunk Whether this is the last chunk
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ChunkedMessage.java