public MessageType getMessageType() {
    return messageType;
  }
Adds a new part to this message that may contain a serialized object.
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/Message.java