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