public synchronized SelectionCriteria getSelectionCriteria ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "getSelectionCriteria" ) ; //469395 checkReleased ( ) ; SelectorDomain selectorDomain = SelectorDomain . getSelectorDomain ( getShort ( ) ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "Selector domain" , selectorDomain ) ; /**************************************************************/ /* Destination */ /**************************************************************/ String discriminator = getString ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "Discriminator:" , discriminator ) ; /**************************************************************/ /* Destination */ /**************************************************************/ String selector = getString ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "Selector:" , selector ) ; SelectionCriteria selectionCriteria = CommsClientServiceFacade . getSelectionCriteriaFactory ( ) . createSelectionCriteria ( discriminator , selector , selectorDomain ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "getSelectionCriteria" ) ; //469395 return selectionCriteria ; }
Reads a SelectionCriteria from the current position in the byte buffer .