public void setServerConnection(ServerConnection servConn) {
    if (serverConnection != servConn) {
      throw new IllegalStateException("this.sc was not correctly set");
    }
  }
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