Class AbstractXMPPConnection.InterceptorWrapper

  • Enclosing class:
    AbstractXMPPConnection

    @Deprecated
    protected static class AbstractXMPPConnection.InterceptorWrapper
    extends java.lang.Object
    Deprecated.
    A wrapper class to associate a stanza filter with an interceptor.
    • Constructor Detail

      • InterceptorWrapper

        public InterceptorWrapper​(StanzaListener packetInterceptor,
                                  StanzaFilter packetFilter)
        Deprecated.
        Create a class which associates a stanza filter with an interceptor.
        Parameters:
        packetInterceptor - the interceptor.
        packetFilter - the associated filter or null if it intercepts all packets.
    • Method Detail

      • filterMatches

        public boolean filterMatches​(Stanza packet)
        Deprecated.