public int getRemainingMessageCount ( ) throws SISessionUnavailableException , SISessionDroppedException , SIConnectionUnavailableException , SIConnectionDroppedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "getRemainingMessageCount" ) ; checkValid ( ) ; int remain = getUnSeenMessageCount ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "getRemainingMessageCount" , "" + remain ) ; return remain ; }
Returns the amount of messages left in the locked message enumeration .