|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smack.Connection.InterceptorWrapper
protected static class Connection.InterceptorWrapper
A wrapper class to associate a packet filter with an interceptor.
Constructor Summary | |
---|---|
Connection.InterceptorWrapper(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Create a class which associates a packet filter with an interceptor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
void |
notifyListener(Packet packet)
Notify and process the packet interceptor if the filter matches the packet. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Connection.InterceptorWrapper(PacketInterceptor packetInterceptor, PacketFilter packetFilter)
packetInterceptor
- the interceptor.packetFilter
- the associated filter or null if it intercepts all packets.Method Detail |
---|
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public void notifyListener(Packet packet)
packet
- the packet which will be sent.
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |