Class OrFilter

    • Constructor Detail

      • OrFilter

        public OrFilter​(int tlvId)
        The constructor. We wont initialize the ArrayList as they may not be used.
        Parameters:
        tlvId - The TLV identifier
      • OrFilter

        public OrFilter()
        The constructor. We wont initialize the ArrayList as they may not be used.
    • Method Detail

      • getOrFilter

        public List<Filter> getOrFilter()
        Get the OrFilter
        Returns:
        Returns the orFilter.
      • computeLength

        public int computeLength()
        Compute the OrFilter length
        OrFilter :
         
         0xA1 L1 super.computeLength()
         
         Length(OrFilter) = Length(0xA1) + Length(super.computeLength()) +
              super.computeLength()
         
        Overrides:
        computeLength in class ConnectorFilter
        Returns:
        The encoded length
      • toString

        public String toString()
        Return a string compliant with RFC 2254 representing an OR filter
        Overrides:
        toString in class ConnectorFilter
        Returns:
        The OR filter string