Uses of Interface
org.jivesoftware.smack.StanzaListener
-
Packages that use StanzaListener Package Description org.jivesoftware.smack Core classes of the Smack API.org.jivesoftware.smack.tcp TCP-IP related classes for Smack.org.jivesoftware.smackx.pubsub Smack's API for XEP-0060: Publish-Subscribe. -
-
Uses of StanzaListener in org.jivesoftware.smack
Subinterfaces of StanzaListener in org.jivesoftware.smack Modifier and Type Interface Description interface
PacketListener
Deprecated.useStanzaListener
insteadClasses in org.jivesoftware.smack that implement StanzaListener Modifier and Type Class Description static class
SmackFuture.InternalProcessStanzaSmackFuture<V,E extends Exception>
static class
SmackFuture.SimpleInternalProcessStanzaSmackFuture<V,E extends Exception>
A simple version of InternalSmackFuture which implements isNonFatalException(E) as always returningfalse
method.Methods in org.jivesoftware.smack that return StanzaListener Modifier and Type Method Description StanzaListener
AbstractXMPPConnection.InterceptorWrapper. getInterceptor()
Deprecated.StanzaListener
AbstractXMPPConnection.ListenerWrapper. getListener()
Methods in org.jivesoftware.smack with parameters of type StanzaListener 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.boolean
AbstractXMPPConnection. removeAsyncStanzaListener(StanzaListener packetListener)
boolean
XMPPConnection. removeAsyncStanzaListener(StanzaListener stanzaListener)
Removes an asynchronous stanza listener for received stanzas from this connection.void
AbstractXMPPConnection. removeStanzaInterceptor(StanzaListener packetInterceptor)
Deprecated.void
XMPPConnection. removeStanzaInterceptor(StanzaListener stanzaInterceptor)
Deprecated.boolean
AbstractXMPPConnection. removeStanzaListener(StanzaListener stanzaListener)
boolean
XMPPConnection. removeStanzaListener(StanzaListener stanzaListener)
Removes a stanza listener for received stanzas from this connection.void
AbstractXMPPConnection. removeStanzaSendingListener(StanzaListener packetListener)
void
XMPPConnection. removeStanzaSendingListener(StanzaListener stanzaListener)
Removes a stanza listener for sending stanzas from this connection.boolean
AbstractXMPPConnection. removeSyncStanzaListener(StanzaListener packetListener)
boolean
XMPPConnection. removeSyncStanzaListener(StanzaListener stanzaListener)
Removes a stanza listener for received stanzas from this connection.Constructors in org.jivesoftware.smack with parameters of type StanzaListener 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. -
Uses of StanzaListener in org.jivesoftware.smack.tcp
Methods in org.jivesoftware.smack.tcp that return StanzaListener Modifier and Type Method Description StanzaListener
XMPPTCPConnection. addStanzaIdAcknowledgedListener(String id, StanzaListener listener)
Add a new Stanza ID acknowledged listener for the given ID.StanzaListener
XMPPTCPConnection. removeStanzaIdAcknowledgedListener(String id)
Remove the Stanza ID acknowledged listener for the given ID.Methods in org.jivesoftware.smack.tcp with parameters of type StanzaListener Modifier and Type Method Description void
XMPPTCPConnection. addStanzaAcknowledgedListener(StanzaListener listener)
Add a Stanza acknowledged listener.void
XMPPTCPConnection. addStanzaDroppedListener(StanzaListener listener)
Add a Stanza dropped listener.StanzaListener
XMPPTCPConnection. addStanzaIdAcknowledgedListener(String id, StanzaListener listener)
Add a new Stanza ID acknowledged listener for the given ID.boolean
XMPPTCPConnection. removeStanzaAcknowledgedListener(StanzaListener listener)
Remove the given Stanza acknowledged listener.boolean
XMPPTCPConnection. removeStanzaDroppedListener(StanzaListener listener)
Remove the given Stanza dropped listener. -
Uses of StanzaListener in org.jivesoftware.smackx.pubsub
Classes in org.jivesoftware.smackx.pubsub that implement StanzaListener Modifier and Type Class Description static class
Node.ItemDeleteTranslator
This class translates low level item deletion events into api level objects for user consumption.static class
Node.ItemEventTranslator
This class translates low level item publication events into api level objects for user consumption.static class
Node.NodeConfigTranslator
This class translates low level node configuration events into api level objects for user consumption.Fields in org.jivesoftware.smackx.pubsub with type parameters of type StanzaListener Modifier and Type Field Description protected ConcurrentHashMap<NodeConfigListener,StanzaListener>
Node. configEventToListenerMap
protected ConcurrentHashMap<ItemDeleteListener,StanzaListener>
Node. itemDeleteToListenerMap
protected ConcurrentHashMap<ItemEventListener<Item>,StanzaListener>
Node. itemEventToListenerMap
-