public class OnceForThisStanza extends 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)
StanzaFilteraccept in interface StanzaFilterpacket - the stanza(/packet) to test.