code: public synchronized int getReceivedDataSegmentType()
     {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getReceivedDataSegmentType");
  
        checkReleased();
  
        int segmentType = -1;
        if (receivedData != null)
        {
           segmentType = receivedData.getSegmentType();
        }
  
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "getReceivedDataSegmentType", segmentType);
        return segmentType;
     }
docs: When this buffer is being used to wrapper a JFap ReceivedData object, this method will return
  the segment type that was returned with the data.
  <p>
  This method will return -1 if this is called on a CommsByteBuffer instance that was not
  created from a ReceivedData instance.
  
  @return Returns the segment type of any received data.