protected static class Connection.InterceptorWrapper extends Object
| Constructor and Description |
|---|
Connection.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(org.xmpp.packet.Packet packet)
Notify and process the packet interceptor if the filter matches the
packet.
|
public Connection.InterceptorWrapper(PacketInterceptor packetInterceptor, PacketFilter packetFilter)
packetInterceptor - the interceptor.packetFilter - the associated filter or null if it intercepts all
packets.Copyright © 2014. All Rights Reserved.