Package org.jivesoftware.smack
Class StanzaCollector.Configuration
java.lang.Object
org.jivesoftware.smack.StanzaCollector.Configuration
- Enclosing class:
StanzaCollector
-
Method Summary
Modifier and TypeMethodDescriptionsetCollectorToReset(StanzaCollector collector) Set the collector which timeout for the next result is reset once this collector collects a packet.setRequest(Stanza request) setSize(int size) Set the maximum size of this collector, i.e.setStanzaFilter(StanzaFilter stanzaFilter) Set the stanza filter used by this collector.
-
Method Details
-
setStanzaFilter
Set the stanza filter used by this collector. Ifnull, then all stanzas will get collected by this collector.- Parameters:
stanzaFilter- TODO javadoc me please- Returns:
- a reference to this configuration.
-
setSize
Set the maximum size of this collector, i.e. how many stanzas this collector will collect before dropping old ones.- Parameters:
size- TODO javadoc me please- Returns:
- a reference to this configuration.
-
setCollectorToReset
Set the collector which timeout for the next result is reset once this collector collects a packet.- Parameters:
collector- TODO javadoc me please- Returns:
- a reference to this configuration.
-
setRequest
-