Class ConnectorFilter

    • Constructor Detail

      • ConnectorFilter

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

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

      • getFilterSet

        public List<FiltergetFilterSet()
        Get the list of filters stored in the composite filter
        Returns:
        And array of filters
      • computeLength

        public int computeLength()
        Compute the ConnectorFilter length Length(ConnectorFilter) = sum(filterSet.computeLength())
        Specified by:
        computeLength in class Filter
        Returns:
        The encoded length
      • toString

        public String toString()
        Return a string compliant with RFC 2254 representing a composite filter, one of AND, OR and NOT
        Overrides:
        toString in class Object
        Returns:
        The composite filter string