public void setComms(Socket socket, InputStream is, OutputStream os, ByteBuffer bb,
      MessageStats msgStats) {
    Assert.assertTrue(socket != null);
    this.socket = socket;
    socketChannel = socket.getChannel();
    inputStream = is;
    outputStream = os;
    cachedCommBuffer = bb;
    messageStats = msgStats;
  }
Gets rid of all the parts that have been added to this message.
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/Message.java