public final class OnceForThisStanza extends java.lang.Object implements StanzaFilter
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Stanza packet)
Tests whether or not the specified stanza should pass the filter.
|
static void |
setup(XMPPTCPConnection connection,
Stanza packet) |
public static void setup(XMPPTCPConnection connection, Stanza packet)
public boolean accept(Stanza packet)
StanzaFilter
accept
in interface StanzaFilter
packet
- the stanza(/packet) to test.