code: public int getRemainingMessageCount() 
    throws SISessionUnavailableException, SISessionDroppedException,
           SIIncorrectCallException
    {
      if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
        SibTr.entry(CoreSPILockedMessageEnumeration.tc, "getRemainingMessageCount", this);
            
      checkValidState("getRemainingMessageCount");
            
      _localConsumerPoint.checkNotClosed();
      
      int remaining = 0;
      
      if(!_seenSingleMessage)
      {
        remaining = 1;
      }
      
      if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
        SibTr.exit(CoreSPILockedMessageEnumeration.tc, "getRemainingMessageCount", 
          new Integer(remaining));    
        
      return remaining;
    }
docs: /* (non-Javadoc)
  @see com.ibm.wsspi.sib.core.LockedMessageEnumeration#getRemainingMessageCount()