protected static class XMPPConnection.InterceptorWrapper extends Object
Constructor and Description |
---|
XMPPConnection.InterceptorWrapper(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Create a class which associates a packet filter with an interceptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
void |
notifyListener(Packet packet)
Notify and process the packet interceptor if the filter matches the packet.
|
public XMPPConnection.InterceptorWrapper(PacketInterceptor packetInterceptor, PacketFilter packetFilter)
packetInterceptor
- the interceptor.packetFilter
- the associated filter or null if it intercepts all packets.