- nextResult
Returns the next available packet. The method call will block (not return) until
a stanza is availab
- cancel
Explicitly cancels the stanza collector so that no more results are queued up.
Once a stanza collect
- nextResultOrThrow
Returns the next available stanza. The method call will block until a stanza is
available or the tim
- newConfiguration
Get a new stanza collector configuration instance.
- pollResult
Polls to see if a stanza is currently available and returns it, or immediately
returns null if no pa
- <init>
Creates a new stanza collector. If the stanza filter is null, then all packets
will match this colle
- getCollectedStanzasAfterCancelled
Return a list of all collected stanzas. This method must be invoked after the
collector has been can
- getStanzaFilter
Returns the stanza filter associated with this stanza collector. The stanza
filter is used to determ
- processStanza
Processes a stanza to see if it meets the criteria for this stanza collector. If
so, the stanza is a
- throwIfCancelled