public byte getModeNumber() {
    return modeNumber;
  }
The modeNumber is the byte written on-wire that indicates this connection mode
geode-core/src/main/java/org/apache/geode/internal/cache/tier/CommunicationMode.java