Uses of Interface
org.jivesoftware.smack.filter.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
Modifier 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.Modifier and TypeMethodDescriptionAbstractXMPPConnection.addAsyncStanzaListener
(StanzaListener packetListener, StanzaFilter packetFilter) XMPPConnection.addAsyncStanzaListener
(StanzaListener stanzaListener, StanzaFilter stanzaFilter) Registers an asynchronous stanza listener with this connection.void
AbstractXMPPConnection.addOneTimeSyncCallback
(StanzaListener callback, StanzaFilter packetFilter) void
XMPPConnection.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 ListenerHandle
AbstractXMPPConnection.addStanzaListener
(StanzaListener stanzaListener, StanzaFilter stanzaFilter) XMPPConnection.addStanzaListener
(StanzaListener stanzaListener, StanzaFilter stanzaFilter) Registers a stanza listener with this connection.void
AbstractXMPPConnection.addStanzaSendingListener
(StanzaListener packetListener, StanzaFilter packetFilter) void
XMPPConnection.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.ModifierConstructorDescriptionInterceptorWrapper
(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
Modifier and TypeMethodDescriptionvoid
ChatManager.addOutgoingMessageInterceptor
(MessageListener messageInterceptor, StanzaFilter filter) Deprecated. -
Uses of StanzaFilter in org.jivesoftware.smack.filter
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Implements the logical AND operation over two or more stanza filters.final class
class
ExtensionElementFilter<E extends ExtensionElement>
class
FlexibleStanzaTypeFilter<S extends Stanza>
Filters for stanzas of a particular type and allows a custom method to further filter the packets.final class
Filter for packets where the "from" field exactly matches a specified JID.final class
class
Filters for packets which are a valid reply to an IQ request.class
final class
A filter for IQ stanza types.final class
Filters for packets of a specific type of Message (e.g.final class
Filters message stanzas which have at least one body.final class
Filters message stanzas which have at least one body.final class
Filters message stanzas which have at least one body.class
Implements the logical NOT operation on a stanza filter.class
Implements the logical OR operation over two or more stanza filters.final class
final class
final class
A filter for Presence types.class
Filters for stanzas with a particular type of stanza extension.class
Filters for Stanzas with a particular stanza ID.final class
Filters for Stanzas of a particular type.class
Filters for message packets with a particular thread value.final class
final class
Modifier and TypeFieldDescriptionstatic final StanzaFilter
MessageTypeFilter.CHAT
static final StanzaFilter
PossibleToTypeFilter.ENTITY_FULL_OR_BARE_JID
static final StanzaFilter
ToTypeFilter.ENTITY_FULL_OR_BARE_JID
static final StanzaFilter
IQTypeFilter.ERROR
static final StanzaFilter
MessageTypeFilter.ERROR
static final StanzaFilter
IQTypeFilter.GET
static final StanzaFilter
IQTypeFilter.GET_OR_SET
static final StanzaFilter
MessageTypeFilter.GROUPCHAT
static final StanzaFilter
MessageTypeFilter.HEADLINE
static final StanzaFilter
MessageWithBodiesFilter.INSTANCE
static final StanzaFilter
MessageWithSubjectFilter.INSTANCE
static final StanzaFilter
MessageWithThreadFilter.INSTANCE
static final StanzaFilter
MessageTypeFilter.NORMAL
static final StanzaFilter
MessageTypeFilter.NORMAL_OR_CHAT
static final StanzaFilter
MessageTypeFilter.NORMAL_OR_CHAT_OR_HEADLINE
static final StanzaFilter
MessageTypeFilter.NORMAL_OR_HEADLINE
static final StanzaFilter
PresenceTypeFilter.OUTGOING_PRESENCE_BROADCAST
static final StanzaFilter
IQTypeFilter.RESULT
static final StanzaFilter
IQTypeFilter.SET
Modifier and TypeFieldDescriptionprotected final List<StanzaFilter>
AbstractListFilter.filters
The list of filters.Modifier and TypeMethodDescriptionvoid
AbstractListFilter.addFilter
(StanzaFilter filter) Adds a filter to the filter list.ModifierConstructorDescriptionprotected
AbstractListFilter
(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.ModifierConstructorDescriptionprotected
AbstractListFilter
(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
Modifier and TypeClassDescriptionclass
Base class for XMPP address type filters.class
Filter based on the 'from' XMPP address type. -
Uses of StanzaFilter in org.jivesoftware.smack.sm.predicates
Modifier and TypeClassDescriptionclass
final class
final class
class
class
Modifier and TypeMethodDescriptionboolean
ShortcutPredicates.addPredicate
(StanzaFilter predicate) boolean
ShortcutPredicates.removePredicate
(StanzaFilter prediacte) ModifierConstructorDescriptionForMatchingPredicateOrAfterXStanzas
(StanzaFilter predicate, int count) -
Uses of StanzaFilter in org.jivesoftware.smack.sm.predicates.tcp
-
Uses of StanzaFilter in org.jivesoftware.smack.tcp
Modifier and TypeMethodDescriptionboolean
XMPPTCPConnection.addRequestAckPredicate
(StanzaFilter predicate) Add a predicate for Stream Management acknowledgment requests.boolean
XMPPTCPConnection.removeRequestAckPredicate
(StanzaFilter predicate) Remove the given predicate for Stream Management acknowledgment request. -
Uses of StanzaFilter in org.jivesoftware.smackx.chat_markers.filter
Modifier and TypeClassDescriptionfinal class
Chat Markers Manager class (XEP-0333).final class
Chat Markers Manager class (XEP-0333). -
Uses of StanzaFilter in org.jivesoftware.smackx.delay.filter
Modifier and TypeClassDescriptionfinal class
Filters stanza with delay information, i.e.Modifier and TypeFieldDescriptionstatic final StanzaFilter
DelayedStanzaFilter.INSTANCE
static final StanzaFilter
DelayedStanzaFilter.NOT_DELAYED_STANZA
Filters stanzas that got not delayed, i.e. -
Uses of StanzaFilter in org.jivesoftware.smackx.iot.data.filter
-
Uses of StanzaFilter in org.jivesoftware.smackx.mam.filter
-
Uses of StanzaFilter in org.jivesoftware.smackx.muc.filter
-
Uses of StanzaFilter in org.jivesoftware.smackx.privacy
-
Uses of StanzaFilter in org.jivesoftware.smackx.privacy.filter
Modifier and TypeClassDescriptionfinal class
final class
-
Uses of StanzaFilter in org.jivesoftware.smackx.pubsub.filter
Modifier and TypeClassDescriptionfinal class
Filter for stanzas with the PubSub 'event' extension.final class