protected static class Connection.InterceptorWrapper extends Object
Constructor and Description |
---|
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 InterceptorWrapper(PacketInterceptor packetInterceptor, PacketFilter packetFilter)
packetInterceptor
- the interceptor.packetFilter
- the associated filter or null if it intercepts all packets.Copyright © 2003-2007 Jive Software.