code: public static boolean isReservedSegmentId(int id)
      {
          boolean isReserved = false;
          switch (id)
          {
              case SEGMENT_HEARTBEAT:
              case SEGMENT_HEARTBEAT_RESPONSE:
              case SEGMENT_SEGMENTED_FLOW_START:
              case SEGMENT_SEGMENTED_FLOW_MIDDLE:
              case SEGMENT_SEGMENTED_FLOW_END:
              case SEGMENT_LOGICAL_CLOSE:
              case SEGMENT_PING:
              case SEGMENT_PING_RESPONSE:
              case SEGMENT_PHYSICAL_CLOSE:
                  isReserved = true;
          }
          return isReserved;
      }
docs: Determines if a segment ID is one of the "reserved" set.
  A "reserved" ID is one which cannot be specified by the user
  of the JFAP Channel - it is used internally.
  <p>
  <strong>
  REMEMBER: Update this with any new "reserved" segment ids.
  </strong>
  
  @param id The ID to test.
  @return boolean Returns True iff the ID is reserved.