StanzaIdFilter
instead.@Deprecated public class PacketIDFilter extends Object implements StanzaFilter
Constructor and Description |
---|
PacketIDFilter(Stanza packet)
Deprecated.
use
StanzaIdFilter.StanzaIdFilter(Stanza) instead. |
PacketIDFilter(String packetID)
Deprecated.
use
StanzaIdFilter.StanzaIdFilter(Stanza) instead. |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Stanza packet)
Deprecated.
Tests whether or not the specified stanza should pass the filter.
|
String |
toString()
Deprecated.
|
@Deprecated public PacketIDFilter(Stanza packet)
StanzaIdFilter.StanzaIdFilter(Stanza)
instead.packet
- the stanza which the ID is taken from.@Deprecated public PacketIDFilter(String packetID)
StanzaIdFilter.StanzaIdFilter(Stanza)
instead.packetID
- the stanza ID to filter for.public boolean accept(Stanza packet)
StanzaFilter
accept
in interface StanzaFilter
packet
- the stanza to test.