Lines Matching refs:filter
21 package org.jivesoftware.smack.filter;
30 * In other words, packets pass this filter if they pass <b>all</b> of the filters.
42 * Creates an empty AND filter. Filters should be added using the
50 * Creates an AND filter using the specified filters.
58 for(PacketFilter filter : filters) {
59 if(filter == null) {
62 this.filters.add(filter);
67 * Adds a filter to the filter list for the AND operation. A packet
68 * will pass the filter if all of the filters in the list accept it.
70 * @param filter a filter to add to the filter list.
72 public void addFilter(PacketFilter filter) {
73 if (filter == null) {
76 filters.add(filter);
80 for (PacketFilter filter : filters) {
81 if (!filter.accept(packet)) {