StanzaIdFilter
instead.@Deprecated public class PacketIDFilter extends java.lang.Object implements StanzaFilter
Constructor and Description |
---|
PacketIDFilter(Stanza packet)
Deprecated.
use
StanzaIdFilter.StanzaIdFilter(Stanza) instead. |
PacketIDFilter(java.lang.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.
|
java.lang.String |
toString()
Deprecated.
|
@Deprecated public PacketIDFilter(Stanza packet)
StanzaIdFilter.StanzaIdFilter(Stanza)
instead.packet
- the stanza(/packet) which the ID is taken from.@Deprecated public PacketIDFilter(java.lang.String packetID)
StanzaIdFilter.StanzaIdFilter(Stanza)
instead.packetID
- the stanza(/packet) ID to filter for.public boolean accept(Stanza packet)
StanzaFilter
accept
in interface StanzaFilter
packet
- the stanza(/packet) to test.public java.lang.String toString()
toString
in class java.lang.Object