Class AbstractXMPPConnection.ListenerWrapper

java.lang.Object
org.jivesoftware.smack.AbstractXMPPConnection.ListenerWrapper
Enclosing class:
AbstractXMPPConnection

protected static class AbstractXMPPConnection.ListenerWrapper extends Object
A wrapper class to associate a stanza filter with a listener.
  • Constructor Details

    • ListenerWrapper

      public ListenerWrapper(StanzaListener packetListener, StanzaFilter packetFilter)
      Create a class which associates a stanza filter with a listener.
      Parameters:
      packetListener - the stanza listener.
      packetFilter - the associated filter or null if it listen for all packets.
  • Method Details