Package org.jivesoftware.smack
Class AbstractXMPPConnection.InterceptorWrapper
- java.lang.Object
-
- org.jivesoftware.smack.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 Summary
Constructors Constructor Description InterceptorWrapper(StanzaListener packetInterceptor, StanzaFilter packetFilter)
Deprecated.Create a class which associates a stanza filter with an interceptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
filterMatches(Stanza packet)
Deprecated.StanzaListener
getInterceptor()
Deprecated.
-
-
-
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.
-
getInterceptor
public StanzaListener getInterceptor()
Deprecated.
-
-