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 interfacePacketListenerDeprecated.useStanzaListenerinsteadClasses in org.jivesoftware.smack that implement StanzaListener Modifier and Type Class Description static classSmackFuture.InternalProcessStanzaSmackFuture<V,E extends Exception>static classSmackFuture.SimpleInternalProcessStanzaSmackFuture<V,E extends Exception>A simple version of InternalSmackFuture which implements isNonFatalException(E) as always returningfalsemethod.Methods in org.jivesoftware.smack that return StanzaListener Modifier and Type Method Description StanzaListenerAbstractXMPPConnection.InterceptorWrapper. getInterceptor()Deprecated.StanzaListenerAbstractXMPPConnection.ListenerWrapper. getListener()Methods in org.jivesoftware.smack with parameters of type StanzaListener Modifier and Type Method Description voidAbstractXMPPConnection. addAsyncStanzaListener(StanzaListener packetListener, StanzaFilter packetFilter)voidXMPPConnection. 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.voidAbstractXMPPConnection. addStanzaInterceptor(StanzaListener packetInterceptor, StanzaFilter packetFilter)Deprecated.voidXMPPConnection. addStanzaInterceptor(StanzaListener stanzaInterceptor, StanzaFilter stanzaFilter)Deprecated.voidAbstractXMPPConnection. addStanzaListener(StanzaListener stanzaListener, StanzaFilter stanzaFilter)voidXMPPConnection. 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.voidAbstractXMPPConnection. addSyncStanzaListener(StanzaListener packetListener, StanzaFilter packetFilter)voidXMPPConnection. addSyncStanzaListener(StanzaListener stanzaListener, StanzaFilter stanzaFilter)Registers a synchronous stanza listener with this connection.booleanAbstractXMPPConnection. removeAsyncStanzaListener(StanzaListener packetListener)booleanXMPPConnection. removeAsyncStanzaListener(StanzaListener stanzaListener)Removes an asynchronous stanza listener for received stanzas from this connection.voidAbstractXMPPConnection. removeStanzaInterceptor(StanzaListener packetInterceptor)Deprecated.voidXMPPConnection. removeStanzaInterceptor(StanzaListener stanzaInterceptor)Deprecated.booleanAbstractXMPPConnection. removeStanzaListener(StanzaListener stanzaListener)booleanXMPPConnection. removeStanzaListener(StanzaListener stanzaListener)Removes a stanza listener for received stanzas from this connection.voidAbstractXMPPConnection. removeStanzaSendingListener(StanzaListener packetListener)voidXMPPConnection. removeStanzaSendingListener(StanzaListener stanzaListener)Removes a stanza listener for sending stanzas from this connection.booleanAbstractXMPPConnection. removeSyncStanzaListener(StanzaListener packetListener)booleanXMPPConnection. 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 StanzaListenerXMPPTCPConnection. addStanzaIdAcknowledgedListener(String id, StanzaListener listener)Add a new Stanza ID acknowledged listener for the given ID.StanzaListenerXMPPTCPConnection. 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 voidXMPPTCPConnection. addStanzaAcknowledgedListener(StanzaListener listener)Add a Stanza acknowledged listener.voidXMPPTCPConnection. addStanzaDroppedListener(StanzaListener listener)Add a Stanza dropped listener.StanzaListenerXMPPTCPConnection. addStanzaIdAcknowledgedListener(String id, StanzaListener listener)Add a new Stanza ID acknowledged listener for the given ID.booleanXMPPTCPConnection. removeStanzaAcknowledgedListener(StanzaListener listener)Remove the given Stanza acknowledged listener.booleanXMPPTCPConnection. 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 classNode.ItemDeleteTranslatorThis class translates low level item deletion events into api level objects for user consumption.static classNode.ItemEventTranslatorThis class translates low level item publication events into api level objects for user consumption.static classNode.NodeConfigTranslatorThis 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. configEventToListenerMapprotected ConcurrentHashMap<ItemDeleteListener,StanzaListener>Node. itemDeleteToListenerMapprotected ConcurrentHashMap<ItemEventListener<Item>,StanzaListener>Node. itemEventToListenerMap
-