Interface StanzaListener

All Known Subinterfaces:
PacketListener
All Known Implementing Classes:
Node.ItemDeleteTranslator, Node.ItemEventTranslator, Node.NodeConfigTranslator, SmackFuture.InternalProcessStanzaSmackFuture, SmackFuture.SimpleInternalProcessStanzaSmackFuture

public interface StanzaListener
Provides a mechanism to listen for packets that pass a specified filter. This allows event-style programming -- every time a new stanza is found, the processStanza(Stanza) method will be called. This is the opposite approach to the functionality provided by a StanzaCollector which lets you block while waiting for results.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Process the next stanza sent to this stanza listener.