Uses of Interface
org.jivesoftware.smack.filter.StanzaFilter
-
Packages that use StanzaFilter Package Description org.jivesoftware.smack Core classes of the Smack API.org.jivesoftware.smack.chat Smacks legacy API for 1:1 chats.org.jivesoftware.smack.filter AllowsStanzaCollector
andStanzaListener
instances to filter for stanzas with particular attributes.org.jivesoftware.smack.filter.jidtype Filter based on the type of an XMPP address.org.jivesoftware.smack.sm.predicates Predicates for requesting Stream Management acknowledgements.org.jivesoftware.smack.sm.predicates.tcp XMPPTCPConnection Stream Managment Predicates.org.jivesoftware.smack.tcp TCP-IP related classes for Smack.org.jivesoftware.smackx.chat_markers.filter Chat Markers elements (XEP-0333).org.jivesoftware.smackx.delay.filter StanzaFilter classes for XEP-0203: Delayed Delivery, as well as XEP-0091: Legacy Delayed Delivery.org.jivesoftware.smackx.iot.data.filter Smack's API for XMPP IoT.org.jivesoftware.smackx.mam.filter Filters of Message Archive Management (MAM) XEP-0313.org.jivesoftware.smackx.muc.filter Stanza filters for Multi-User Chat.org.jivesoftware.smackx.privacy Smacks implementation of XEP-0016: Privacy Lists.org.jivesoftware.smackx.privacy.filter Filters for XEP-0016: Privacy Lists.org.jivesoftware.smackx.pubsub.filter Filters for Publish-Subscribe (XEP-60). -
-
Uses of StanzaFilter in org.jivesoftware.smack
Methods in org.jivesoftware.smack that return StanzaFilter Modifier and Type Method Description StanzaFilter
SmackException.NoResponseException. getFilter()
Get the filter that was used to collect the response.StanzaFilter
StanzaCollector. getStanzaFilter()
Returns the stanza filter associated with this stanza collector.Methods in org.jivesoftware.smack with parameters of type StanzaFilter Modifier and Type Method Description void
AbstractXMPPConnection. addAsyncStanzaListener(StanzaListener packetListener, StanzaFilter packetFilter)
void
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.void
AbstractXMPPConnection. addStanzaInterceptor(StanzaListener packetInterceptor, StanzaFilter packetFilter)
Deprecated.void
XMPPConnection. addStanzaInterceptor(StanzaListener stanzaInterceptor, StanzaFilter stanzaFilter)
Deprecated.void
AbstractXMPPConnection. addStanzaListener(StanzaListener stanzaListener, StanzaFilter stanzaFilter)
void
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.void
AbstractXMPPConnection. addSyncStanzaListener(StanzaListener packetListener, StanzaFilter packetFilter)
void
XMPPConnection. addSyncStanzaListener(StanzaListener stanzaListener, StanzaFilter stanzaFilter)
Registers a synchronous stanza listener with this connection.StanzaCollector
AbstractXMPPConnection. createStanzaCollector(StanzaFilter packetFilter)
StanzaCollector
XMPPConnection. createStanzaCollector(StanzaFilter stanzaFilter)
Creates a new stanza collector for this connection.StanzaCollector
AbstractXMPPConnection. createStanzaCollectorAndSend(StanzaFilter packetFilter, Stanza packet)
StanzaCollector
XMPPConnection. createStanzaCollectorAndSend(StanzaFilter stanzaFilter, Stanza stanza)
Creates a new stanza collector for this connection.static SmackException.NoResponseException
SmackException.NoResponseException. newWith(long timeout, StanzaFilter filter, boolean stanzaCollectorCancelled)
static SmackException.NoResponseException
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
StanzaCollector.Configuration. setStanzaFilter(StanzaFilter stanzaFilter)
Set the stanza filter used by this collector.Constructors in org.jivesoftware.smack with parameters of type StanzaFilter Constructor Description InterceptorWrapper(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 StanzaFilter Modifier and Type Method Description void
ChatManager. addOutgoingMessageInterceptor(MessageListener messageInterceptor, StanzaFilter filter)
Deprecated. -
Uses of StanzaFilter in org.jivesoftware.smack.filter
Classes in org.jivesoftware.smack.filter that implement StanzaFilter Modifier and Type Class Description class
AbstractExactJidTypeFilter
class
AbstractFromToMatchesFilter
class
AbstractJidTypeFilter
class
AbstractListFilter
class
AbstractPossibleJidTypeFilter
class
AndFilter
Implements the logical AND operation over two or more stanza filters.class
EmptyToMatcher
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.class
FromMatchesFilter
Filter for packets where the "from" field exactly matches a specified JID.class
FromTypeFilter
class
IQReplyFilter
Filters for packets which are a valid reply to an IQ request.class
IQResultReplyFilter
class
IQTypeFilter
A filter for IQ stanza types.class
MessageTypeFilter
Filters for packets of a specific type of Message (e.g.class
MessageWithBodiesFilter
Filters message stanzas which have at least one body.class
MessageWithSubjectFilter
Filters message stanzas which have at least one body.class
MessageWithThreadFilter
Filters message stanzas which have at least one body.class
NotFilter
Implements the logical NOT operation on a stanza filter.class
OrFilter
Implements the logical OR operation over two or more stanza filters.class
PossibleFromTypeFilter
class
PossibleToTypeFilter
class
PresenceTypeFilter
A filter for Presence types.class
StanzaExtensionFilter
Filters for stanzas with a particular type of stanza extension.class
StanzaIdFilter
Filters for Stanzas with a particular stanza ID.class
StanzaTypeFilter
Filters for Stanzas of a particular type.class
ThreadFilter
Filters for message packets with a particular thread value.class
ToMatchesFilter
class
ToTypeFilter
Fields in org.jivesoftware.smack.filter declared as StanzaFilter Modifier and Type Field Description static StanzaFilter
MessageTypeFilter. CHAT
static StanzaFilter
PossibleToTypeFilter. ENTITY_FULL_OR_BARE_JID
static StanzaFilter
ToTypeFilter. ENTITY_FULL_OR_BARE_JID
static StanzaFilter
IQTypeFilter. ERROR
static StanzaFilter
MessageTypeFilter. ERROR
static StanzaFilter
IQTypeFilter. GET
static StanzaFilter
IQTypeFilter. GET_OR_SET
static StanzaFilter
MessageTypeFilter. GROUPCHAT
static StanzaFilter
MessageTypeFilter. HEADLINE
static StanzaFilter
MessageWithBodiesFilter. INSTANCE
static StanzaFilter
MessageWithSubjectFilter. INSTANCE
static StanzaFilter
MessageWithThreadFilter. INSTANCE
static StanzaFilter
MessageTypeFilter. NORMAL
static StanzaFilter
MessageTypeFilter. NORMAL_OR_CHAT
static StanzaFilter
MessageTypeFilter. NORMAL_OR_CHAT_OR_HEADLINE
static StanzaFilter
MessageTypeFilter. NORMAL_OR_HEADLINE
static StanzaFilter
PresenceTypeFilter. OUTGOING_PRESENCE_BROADCAST
static StanzaFilter
IQTypeFilter. RESULT
static StanzaFilter
IQTypeFilter. SET
Fields in org.jivesoftware.smack.filter with type parameters of type StanzaFilter Modifier and Type Field Description protected List<StanzaFilter>
AbstractListFilter. filters
The list of filters.Methods in org.jivesoftware.smack.filter with parameters of type StanzaFilter Modifier and Type Method Description void
AbstractListFilter. addFilter(StanzaFilter filter)
Adds a filter to the filter list.Constructors in org.jivesoftware.smack.filter with parameters of type StanzaFilter Constructor Description 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. -
Uses of StanzaFilter in org.jivesoftware.smack.filter.jidtype
Classes in org.jivesoftware.smack.filter.jidtype that implement StanzaFilter Modifier and Type Class Description class
AbstractJidTypeFilter
Base class for XMPP address type filters.class
FromJidTypeFilter
Filter 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 StanzaFilter Modifier and Type Class Description class
AfterXStanzas
class
ForEveryMessage
class
ForEveryStanza
class
ForMatchingPredicateOrAfterXStanzas
class
ShortcutPredicates
Methods in org.jivesoftware.smack.sm.predicates that return StanzaFilter Modifier and Type Method Description static StanzaFilter
Predicate. forMessagesOrAfter5Stanzas()
Methods in org.jivesoftware.smack.sm.predicates with parameters of type StanzaFilter Modifier and Type Method Description boolean
ShortcutPredicates. addPredicate(StanzaFilter predicate)
boolean
ShortcutPredicates. removePredicate(StanzaFilter prediacte)
Constructors in org.jivesoftware.smack.sm.predicates with parameters of type StanzaFilter Constructor Description ForMatchingPredicateOrAfterXStanzas(StanzaFilter predicate, int count)
Constructor parameters in org.jivesoftware.smack.sm.predicates with type arguments of type StanzaFilter Constructor Description ShortcutPredicates(Collection<? extends StanzaFilter> predicates)
-
Uses of StanzaFilter in org.jivesoftware.smack.sm.predicates.tcp
Classes in org.jivesoftware.smack.sm.predicates.tcp that implement StanzaFilter Modifier and Type Class Description class
OnceForThisStanza
-
Uses of StanzaFilter in org.jivesoftware.smack.tcp
Methods in org.jivesoftware.smack.tcp with parameters of type StanzaFilter Modifier and Type Method Description boolean
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
Classes in org.jivesoftware.smackx.chat_markers.filter that implement StanzaFilter Modifier and Type Class Description class
ChatMarkersFilter
Chat Markers Manager class (XEP-0333).class
EligibleForChatMarkerFilter
Chat Markers Manager class (XEP-0333).Fields in org.jivesoftware.smackx.chat_markers.filter declared as StanzaFilter Modifier and Type Field Description static StanzaFilter
ChatMarkersFilter. INSTANCE
-
Uses of StanzaFilter in org.jivesoftware.smackx.delay.filter
Classes in org.jivesoftware.smackx.delay.filter that implement StanzaFilter Modifier and Type Class Description class
DelayedStanzaFilter
Filters stanza with delay information, ie.Fields in org.jivesoftware.smackx.delay.filter declared as StanzaFilter Modifier and Type Field Description static StanzaFilter
DelayedStanzaFilter. INSTANCE
static StanzaFilter
DelayedStanzaFilter. NOT_DELAYED_STANZA
Filters stanzas that got not delayed, ie. -
Uses of StanzaFilter in org.jivesoftware.smackx.iot.data.filter
Classes in org.jivesoftware.smackx.iot.data.filter that implement StanzaFilter Modifier and Type Class Description class
IoTFieldsExtensionFilter
-
Uses of StanzaFilter in org.jivesoftware.smackx.mam.filter
Classes in org.jivesoftware.smackx.mam.filter that implement StanzaFilter Modifier and Type Class Description class
MamResultFilter
MAM result filter class. -
Uses of StanzaFilter in org.jivesoftware.smackx.muc.filter
Classes in org.jivesoftware.smackx.muc.filter that implement StanzaFilter Modifier and Type Class Description class
MUCUserStatusCodeFilter
-
Uses of StanzaFilter in org.jivesoftware.smackx.privacy
Fields in org.jivesoftware.smackx.privacy declared as StanzaFilter Modifier and Type Field Description static StanzaFilter
PrivacyListManager. PRIVACY_FILTER
-
Uses of StanzaFilter in org.jivesoftware.smackx.privacy.filter
Classes in org.jivesoftware.smackx.privacy.filter that implement StanzaFilter Modifier and Type Class Description class
SetActiveListFilter
class
SetDefaultListFilter
-
Uses of StanzaFilter in org.jivesoftware.smackx.pubsub.filter
Classes in org.jivesoftware.smackx.pubsub.filter that implement StanzaFilter Modifier and Type Class Description class
EventExtensionFilter
Filter for stanzas with the PubSub 'event' extension.class
EventItemsExtensionFilter
-