Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.chat |
TODO describe me.
|
org.jivesoftware.smack.filter |
Allows
StanzaCollector and StanzaListener 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.tcp |
TODO describe me.
|
org.jivesoftware.smackx.delay.filter |
TODO describe me.
|
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 |
TODO describe me.
|
org.jivesoftware.smackx.privacy.filter |
TODO describe me.
|
org.jivesoftware.smackx.pubsub.filter |
Filters for Publish-Subscribe (XEP-60).
|
Modifier and Type | Method and Description |
---|---|
StanzaFilter |
SmackException.NoResponseException.getFilter()
Get the filter that was used to collect the response.
|
StanzaFilter |
StanzaCollector.getPacketFilter()
Deprecated.
use
StanzaCollector.getStanzaFilter() instead. |
StanzaFilter |
StanzaCollector.getStanzaFilter()
Returns the stanza filter associated with this stanza collector.
|
Modifier and Type | Method and Description |
---|---|
void |
XMPPConnection.addAsyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Registers an asynchronous stanza(/packet) listener with this connection.
|
void |
AbstractXMPPConnection.addAsyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
void |
XMPPConnection.addOneTimeSyncCallback(StanzaListener callback,
StanzaFilter packetFilter)
Add a callback that is called exactly once and synchronously with the incoming stanza that matches the given
stanza(/packet) filter.
|
void |
AbstractXMPPConnection.addOneTimeSyncCallback(StanzaListener callback,
StanzaFilter packetFilter) |
void |
XMPPConnection.addPacketInterceptor(StanzaListener packetInterceptor,
StanzaFilter packetFilter)
Registers a stanza(/packet) interceptor with this connection.
|
void |
AbstractXMPPConnection.addPacketInterceptor(StanzaListener packetInterceptor,
StanzaFilter packetFilter) |
void |
XMPPConnection.addPacketListener(StanzaListener packetListener,
StanzaFilter packetFilter)
|
void |
AbstractXMPPConnection.addPacketListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Deprecated.
|
void |
XMPPConnection.addPacketSendingListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Registers a stanza(/packet) listener with this connection.
|
void |
AbstractXMPPConnection.addPacketSendingListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
void |
XMPPConnection.addSyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Registers a synchronous stanza(/packet) listener with this connection.
|
void |
AbstractXMPPConnection.addSyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
StanzaCollector |
XMPPConnection.createStanzaCollector(StanzaFilter packetFilter)
Creates a new stanza(/packet) collector for this connection.
|
StanzaCollector |
AbstractXMPPConnection.createStanzaCollector(StanzaFilter packetFilter) |
StanzaCollector |
XMPPConnection.createStanzaCollectorAndSend(StanzaFilter packetFilter,
Stanza packet)
Creates a new stanza(/packet) collector for this connection.
|
StanzaCollector |
AbstractXMPPConnection.createStanzaCollectorAndSend(StanzaFilter packetFilter,
Stanza packet) |
static SmackException.NoResponseException |
SmackException.NoResponseException.newWith(XMPPConnection connection,
StanzaFilter filter) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback)
Send a stanza and wait asynchronously for a response by using
replyFilter . |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback)
Send a stanza and wait asynchronously for a response by using
replyFilter . |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout)
Send a stanza and wait asynchronously for a response by using
replyFilter . |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout) |
StanzaCollector.Configuration |
StanzaCollector.Configuration.setPacketFilter(StanzaFilter packetFilter)
Deprecated.
|
StanzaCollector.Configuration |
StanzaCollector.Configuration.setStanzaFilter(StanzaFilter stanzaFilter)
Set the stanza filter used by this collector.
|
Constructor and Description |
---|
InterceptorWrapper(StanzaListener packetInterceptor,
StanzaFilter packetFilter)
Create a class which associates a stanza(/packet) filter with an interceptor.
|
ListenerWrapper(StanzaListener packetListener,
StanzaFilter packetFilter)
Create a class which associates a stanza(/packet) filter with a listener.
|
NotConnectedException(XMPPConnection connection,
StanzaFilter stanzaFilter) |
Modifier and Type | Method and Description |
---|---|
void |
ChatManager.addOutgoingMessageInterceptor(MessageListener messageInterceptor,
StanzaFilter filter)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PacketFilter
Deprecated.
use
StanzaFilter |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFromToMatchesFilter |
class |
AbstractJidTypeFilter |
class |
AbstractListFilter |
class |
AndFilter
Implements the logical AND operation over two or more stanza(/packet) filters.
|
class |
EmptyToMatcher |
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(/packet) 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(/packet) filter.
|
class |
OrFilter
Implements the logical OR operation over two or more stanza(/packet) filters.
|
class |
PacketExtensionFilter
Deprecated.
use
StanzaExtensionFilter instead. |
class |
PacketIDFilter
Deprecated.
use
StanzaIdFilter instead. |
class |
PacketTypeFilter
Deprecated.
use
StanzaTypeFilter instead. |
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 |
ToFilter
Deprecated.
use
ToMatchesFilter instead. |
class |
ToMatchesFilter |
class |
ToTypeFilter |
Modifier and Type | Field and Description |
---|---|
static StanzaFilter |
MessageTypeFilter.CHAT |
static StanzaFilter |
ToTypeFilter.ENTITY_FULL_OR_BARE_JID |
static StanzaFilter |
MessageTypeFilter.ERROR |
static StanzaFilter |
IQTypeFilter.ERROR |
static StanzaFilter |
IQTypeFilter.GET |
static StanzaFilter |
IQTypeFilter.GET_OR_SET |
static StanzaFilter |
MessageTypeFilter.GROUPCHAT |
static StanzaFilter |
MessageTypeFilter.HEADLINE |
static StanzaFilter |
MessageWithThreadFilter.INSTANCE |
static StanzaFilter |
MessageWithBodiesFilter.INSTANCE |
static StanzaFilter |
MessageWithSubjectFilter.INSTANCE |
static StanzaFilter |
MessageTypeFilter.NORMAL |
static StanzaFilter |
MessageTypeFilter.NORMAL_OR_CHAT |
static StanzaFilter |
MessageTypeFilter.NORMAL_OR_CHAT_OR_HEADLINE |
static StanzaFilter |
PresenceTypeFilter.OUTGOING_PRESENCE_BROADCAST |
static StanzaFilter |
IQTypeFilter.RESULT |
static StanzaFilter |
IQTypeFilter.SET |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<StanzaFilter> |
AbstractListFilter.filters
The list of filters.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractListFilter.addFilter(StanzaFilter filter)
Adds a filter to the filter list.
|
Constructor and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
FromJidTypeFilter
Filter based on the 'from' XMPP address type.
|
Modifier and Type | Class and Description |
---|---|
class |
AfterXStanzas |
class |
ForEveryMessage |
class |
ForEveryStanza |
class |
ForMatchingPredicateOrAfterXStanzas |
class |
OnceForThisStanza |
class |
ShortcutPredicates |
Modifier and Type | Method and Description |
---|---|
static StanzaFilter |
Predicate.forMessagesOrAfter5Stanzas() |
Modifier and Type | Method and Description |
---|---|
boolean |
ShortcutPredicates.addPredicate(StanzaFilter predicate) |
boolean |
ShortcutPredicates.removePredicate(StanzaFilter prediacte) |
Constructor and Description |
---|
ForMatchingPredicateOrAfterXStanzas(StanzaFilter predicate,
int count) |
Constructor and Description |
---|
ShortcutPredicates(java.util.Collection<? extends StanzaFilter> predicates) |
Modifier and Type | Method and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
DelayedStanzaFilter
Filters stanza with delay information, ie.
|
Modifier and Type | Field and Description |
---|---|
static StanzaFilter |
DelayedStanzaFilter.INSTANCE |
static StanzaFilter |
DelayedStanzaFilter.NOT_DELAYED_STANZA
Filters stanzas that got not delayed, ie.
|
Modifier and Type | Class and Description |
---|---|
class |
IoTFieldsExtensionFilter |
Modifier and Type | Class and Description |
---|---|
class |
MamResultFilter
MAM result filter class.
|
Modifier and Type | Class and Description |
---|---|
class |
MUCUserStatusCodeFilter |
Modifier and Type | Field and Description |
---|---|
static StanzaFilter |
PrivacyListManager.PRIVACY_FILTER |
Modifier and Type | Class and Description |
---|---|
class |
SetActiveListFilter |
class |
SetDefaultListFilter |
Modifier and Type | Class and Description |
---|---|
class |
EventExtensionFilter
Filter for stanzas with the PubSub 'event' extension.
|