|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smack.filter.ThreadFilter
public class ThreadFilter
Filters for message packets with a particular thread value.
| Constructor Summary | |
|---|---|
ThreadFilter(java.lang.String thread)
Creates a new thread filter using the specified thread value. |
|
| Method Summary | |
|---|---|
boolean |
accept(Packet packet)
Tests whether or not the specified packet should pass the filter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadFilter(java.lang.String thread)
thread - the thread value to filter for.| Method Detail |
|---|
public boolean accept(Packet packet)
PacketFilter
accept in interface PacketFilterpacket - the packet to test.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||