Uses of Interface
org.jivesoftware.smack.filter.StanzaFilter
Packages that use StanzaFilter
Package
Description
Core classes of the Smack API.
Smacks legacy API for 1:1 chats.
Allows
StanzaCollector and StanzaListener instances to filter for stanzas with particular attributes.Filter based on the type of an XMPP address.
Predicates for requesting Stream Management acknowledgements.
XMPPTCPConnection Stream Management Predicates.
TCP-IP related classes for Smack.
Chat Markers elements (XEP-0333).
StanzaFilter classes for XEP-0203: Delayed Delivery, as well as XEP-0091: Legacy Delayed Delivery.
Smack's API for XMPP IoT.
Filters of Message Archive Management (MAM) XEP-0313.
Stanza filters for Multi-User Chat.
Smacks implementation of XEP-0016: Privacy Lists.
Filters for XEP-0016: Privacy Lists.
Filters for Publish-Subscribe (XEP-60).
-
Uses of StanzaFilter in org.jivesoftware.smack
Methods in org.jivesoftware.smack that return StanzaFilterModifier and TypeMethodDescriptionSmackException.NoResponseException.getFilter()Get the filter that was used to collect the response.StanzaCollector.getStanzaFilter()Returns the stanza filter associated with this stanza collector.Methods in org.jivesoftware.smack with parameters of type StanzaFilterModifier and TypeMethodDescriptionAbstractXMPPConnection.addAsyncStanzaListener(StanzaListener packetListener, StanzaFilter packetFilter) XMPPConnection.addAsyncStanzaListener(StanzaListener stanzaListener, StanzaFilter stanzaFilter) Registers an asynchronous stanza listener with this connection.voidAbstractXMPPConnection.addOneTimeSyncCallback(StanzaListener callback, StanzaFilter packetFilter) voidXMPPConnection.addOneTimeSyncCallback(StanzaListener callback, StanzaFilter stanzaFilter) Add a callback that is called exactly once and synchronously with the incoming stanza that matches the given stanza filter.final ListenerHandleAbstractXMPPConnection.addStanzaListener(StanzaListener stanzaListener, StanzaFilter stanzaFilter) XMPPConnection.addStanzaListener(StanzaListener stanzaListener, StanzaFilter stanzaFilter) Registers a stanza listener with this connection.voidAbstractXMPPConnection.addStanzaSendingListener(StanzaListener packetListener, StanzaFilter packetFilter) voidXMPPConnection.addStanzaSendingListener(StanzaListener stanzaListener, StanzaFilter stanzaFilter) Registers a stanza listener with this connection.AbstractXMPPConnection.addSyncStanzaListener(StanzaListener packetListener, StanzaFilter packetFilter) XMPPConnection.addSyncStanzaListener(StanzaListener stanzaListener, StanzaFilter stanzaFilter) Registers a synchronous stanza listener with this connection.AbstractXMPPConnection.createStanzaCollector(StanzaFilter packetFilter) XMPPConnection.createStanzaCollector(StanzaFilter stanzaFilter) Creates a new stanza collector for this connection.AbstractXMPPConnection.createStanzaCollectorAndSend(StanzaFilter packetFilter, Stanza packet) XMPPConnection.createStanzaCollectorAndSend(StanzaFilter stanzaFilter, Stanza stanza) Creates a new stanza collector for this connection.SmackException.NoResponseException.newWith(long timeout, StanzaFilter filter, boolean stanzaCollectorCancelled) SmackException.NoResponseException.newWith(XMPPConnection connection, StanzaFilter filter) <S extends Stanza>
SmackFuture<S,Exception> AbstractXMPPConnection.sendAsync(S stanza, StanzaFilter replyFilter) <S extends Stanza>
SmackFuture<S,Exception> AbstractXMPPConnection.sendAsync(S stanza, StanzaFilter replyFilter, long timeout) <S extends Stanza>
SmackFuture<S,Exception> XMPPConnection.sendAsync(S stanza, StanzaFilter replyFilter) Send a stanza asynchronously, waiting for exactly one response stanza using the given reply filter.<S extends Stanza>
SmackFuture<S,Exception> XMPPConnection.sendAsync(S stanza, StanzaFilter replyFilter, long timeout) Send a stanza asynchronously, waiting for exactly one response stanza using the given reply filter.StanzaCollector.Configuration.setStanzaFilter(StanzaFilter stanzaFilter) Set the stanza filter used by this collector.Constructors in org.jivesoftware.smack with parameters of type StanzaFilterModifierConstructorDescriptionInterceptorWrapper(StanzaListener packetInterceptor, StanzaFilter packetFilter) Deprecated.Create a class which associates a stanza filter with an interceptor.ListenerWrapper(StanzaListener packetListener, StanzaFilter packetFilter) Create a class which associates a stanza filter with a listener.NotConnectedException(XMPPConnection connection, StanzaFilter stanzaFilter) NotConnectedException(XMPPConnection connection, StanzaFilter stanzaFilter, Exception connectionException) -
Uses of StanzaFilter in org.jivesoftware.smack.chat
Methods in org.jivesoftware.smack.chat with parameters of type StanzaFilterModifier and TypeMethodDescriptionvoidChatManager.addOutgoingMessageInterceptor(MessageListener messageInterceptor, StanzaFilter filter) Deprecated. -
Uses of StanzaFilter in org.jivesoftware.smack.filter
Classes in org.jivesoftware.smack.filter that implement StanzaFilterModifier and TypeClassDescriptionclassclassclassclassclassclassImplements the logical AND operation over two or more stanza filters.final classclassExtensionElementFilter<E extends ExtensionElement>classFlexibleStanzaTypeFilter<S extends Stanza>Filters for stanzas of a particular type and allows a custom method to further filter the packets.final classFilter for packets where the "from" field exactly matches a specified JID.final classclassFilters for packets which are a valid reply to an IQ request.classfinal classA filter for IQ stanza types.final classFilters for packets of a specific type of Message (e.g.final classFilters message stanzas which have at least one body.final classFilters message stanzas which have at least one body.final classFilters message stanzas which have at least one body.classImplements the logical NOT operation on a stanza filter.classImplements the logical OR operation over two or more stanza filters.final classfinal classfinal classA filter for Presence types.classFilters for stanzas with a particular type of stanza extension.classFilters for Stanzas with a particular stanza ID.final classFilters for Stanzas of a particular type.classFilters for message packets with a particular thread value.final classfinal classFields in org.jivesoftware.smack.filter declared as StanzaFilterModifier and TypeFieldDescriptionstatic final StanzaFilterMessageTypeFilter.CHATstatic final StanzaFilterPossibleToTypeFilter.ENTITY_FULL_OR_BARE_JIDstatic final StanzaFilterToTypeFilter.ENTITY_FULL_OR_BARE_JIDstatic final StanzaFilterIQTypeFilter.ERRORstatic final StanzaFilterMessageTypeFilter.ERRORstatic final StanzaFilterIQTypeFilter.GETstatic final StanzaFilterIQTypeFilter.GET_OR_SETstatic final StanzaFilterMessageTypeFilter.GROUPCHATstatic final StanzaFilterMessageTypeFilter.HEADLINEstatic final StanzaFilterMessageWithBodiesFilter.INSTANCEstatic final StanzaFilterMessageWithSubjectFilter.INSTANCEstatic final StanzaFilterMessageWithThreadFilter.INSTANCEstatic final StanzaFilterMessageTypeFilter.NORMALstatic final StanzaFilterMessageTypeFilter.NORMAL_OR_CHATstatic final StanzaFilterMessageTypeFilter.NORMAL_OR_CHAT_OR_HEADLINEstatic final StanzaFilterMessageTypeFilter.NORMAL_OR_HEADLINEstatic final StanzaFilterPresenceTypeFilter.OUTGOING_PRESENCE_BROADCASTstatic final StanzaFilterIQTypeFilter.RESULTstatic final StanzaFilterIQTypeFilter.SETFields in org.jivesoftware.smack.filter with type parameters of type StanzaFilterModifier and TypeFieldDescriptionprotected final List<StanzaFilter>AbstractListFilter.filtersThe list of filters.Methods in org.jivesoftware.smack.filter with parameters of type StanzaFilterModifier and TypeMethodDescriptionvoidAbstractListFilter.addFilter(StanzaFilter filter) Adds a filter to the filter list.Constructors in org.jivesoftware.smack.filter with parameters of type StanzaFilterModifierConstructorDescriptionprotectedAbstractListFilter(StanzaFilter... filters) Creates an filter using the specified filters.AndFilter(StanzaFilter... filters) Creates an AND filter using the specified filters.NotFilter(StanzaFilter filter) Creates a NOT filter using the specified filter.OrFilter(StanzaFilter... filters) Creates an OR filter using the specified filters.Constructor parameters in org.jivesoftware.smack.filter with type arguments of type StanzaFilterModifierConstructorDescriptionprotectedAbstractListFilter(List<StanzaFilter> filters) Creates an filter using the specified filters.AndFilter(List<StanzaFilter> filters) Creates an AND filter using the specified filters. -
Uses of StanzaFilter in org.jivesoftware.smack.filter.jidtype
Classes in org.jivesoftware.smack.filter.jidtype that implement StanzaFilterModifier and TypeClassDescriptionclassBase class for XMPP address type filters.classFilter based on the 'from' XMPP address type. -
Uses of StanzaFilter in org.jivesoftware.smack.sm.predicates
Classes in org.jivesoftware.smack.sm.predicates that implement StanzaFilterModifier and TypeClassDescriptionclassfinal classfinal classclassclassMethods in org.jivesoftware.smack.sm.predicates that return StanzaFilterMethods in org.jivesoftware.smack.sm.predicates with parameters of type StanzaFilterModifier and TypeMethodDescriptionbooleanShortcutPredicates.addPredicate(StanzaFilter predicate) booleanShortcutPredicates.removePredicate(StanzaFilter prediacte) Constructors in org.jivesoftware.smack.sm.predicates with parameters of type StanzaFilterModifierConstructorDescriptionForMatchingPredicateOrAfterXStanzas(StanzaFilter predicate, int count) Constructor parameters in org.jivesoftware.smack.sm.predicates with type arguments of type StanzaFilter -
Uses of StanzaFilter in org.jivesoftware.smack.sm.predicates.tcp
Classes in org.jivesoftware.smack.sm.predicates.tcp that implement StanzaFilter -
Uses of StanzaFilter in org.jivesoftware.smack.tcp
Methods in org.jivesoftware.smack.tcp with parameters of type StanzaFilterModifier and TypeMethodDescriptionbooleanXMPPTCPConnection.addRequestAckPredicate(StanzaFilter predicate) Add a predicate for Stream Management acknowledgment requests.booleanXMPPTCPConnection.removeRequestAckPredicate(StanzaFilter predicate) Remove the given predicate for Stream Management acknowledgment request. -
Uses of StanzaFilter in org.jivesoftware.smackx.chat_markers.filter
Classes in org.jivesoftware.smackx.chat_markers.filter that implement StanzaFilterModifier and TypeClassDescriptionfinal classChat Markers Manager class (XEP-0333).final classChat Markers Manager class (XEP-0333).Fields in org.jivesoftware.smackx.chat_markers.filter declared as StanzaFilter -
Uses of StanzaFilter in org.jivesoftware.smackx.delay.filter
Classes in org.jivesoftware.smackx.delay.filter that implement StanzaFilterModifier and TypeClassDescriptionfinal classFilters stanza with delay information, i.e.Fields in org.jivesoftware.smackx.delay.filter declared as StanzaFilterModifier and TypeFieldDescriptionstatic final StanzaFilterDelayedStanzaFilter.INSTANCEstatic final StanzaFilterDelayedStanzaFilter.NOT_DELAYED_STANZAFilters stanzas that got not delayed, i.e. -
Uses of StanzaFilter in org.jivesoftware.smackx.iot.data.filter
Classes in org.jivesoftware.smackx.iot.data.filter that implement StanzaFilter -
Uses of StanzaFilter in org.jivesoftware.smackx.mam.filter
Classes in org.jivesoftware.smackx.mam.filter that implement StanzaFilter -
Uses of StanzaFilter in org.jivesoftware.smackx.muc.filter
Classes in org.jivesoftware.smackx.muc.filter that implement StanzaFilter -
Uses of StanzaFilter in org.jivesoftware.smackx.privacy
Fields in org.jivesoftware.smackx.privacy declared as StanzaFilter -
Uses of StanzaFilter in org.jivesoftware.smackx.privacy.filter
Classes in org.jivesoftware.smackx.privacy.filter that implement StanzaFilterModifier and TypeClassDescriptionfinal classfinal class -
Uses of StanzaFilter in org.jivesoftware.smackx.pubsub.filter
Classes in org.jivesoftware.smackx.pubsub.filter that implement StanzaFilterModifier and TypeClassDescriptionfinal classFilter for stanzas with the PubSub 'event' extension.final class