code: public synchronized void putSelectionCriteria(SelectionCriteria criteria)
     {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "putSelectionCriteria", criteria);
  
        checkValid();
  
        String discriminator = null;
        String selector = null;
        short selectorDomain = (short) SelectorDomain.SIMESSAGE.toInt();
  
        if (criteria != null)
        {
           discriminator = criteria.getDiscriminator();
           selector = criteria.getSelectorString();
  
           SelectorDomain selDomain = criteria.getSelectorDomain();
           if (selDomain != null)
           {
              selectorDomain = (short) selDomain.toInt();
           }
        }
  
        putShort(selectorDomain);
        putString(discriminator);
        putString(selector);
  
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "putSelectionCriteria");
     }
docs: Puts a SelectionCriteria object into the byte buffer.
  
  @param criteria