public static class MUCInitialPresence.History
extends java.lang.Object
implements org.jivesoftware.smack.packet.NamedElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
Constructor and Description |
---|
MUCInitialPresence.History() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName() |
int |
getMaxChars()
Returns the total number of characters to receive in the history.
|
int |
getMaxStanzas()
Returns the total number of messages to receive in the history.
|
int |
getSeconds()
Returns the number of seconds to use to filter the messages received during that time.
|
java.util.Date |
getSince()
Returns the since date to use to filter the messages received during that time.
|
void |
setMaxChars(int maxChars)
Sets the total number of characters to receive in the history.
|
void |
setMaxStanzas(int maxStanzas)
Sets the total number of messages to receive in the history.
|
void |
setSeconds(int seconds)
Sets the number of seconds to use to filter the messages received during that time.
|
void |
setSince(java.util.Date since)
Sets the since date to use to filter the messages received during that time.
|
org.jivesoftware.smack.util.XmlStringBuilder |
toXML() |
public static final java.lang.String ELEMENT
public int getMaxChars()
public int getMaxStanzas()
public int getSeconds()
public java.util.Date getSince()
public void setMaxChars(int maxChars)
maxChars
- the total number of characters to receive in the history.public void setMaxStanzas(int maxStanzas)
maxStanzas
- the total number of messages to receive in the history.public void setSeconds(int seconds)
seconds
- the number of seconds to use to filter the messages received during
that time.public void setSince(java.util.Date since)
since
- the since date to use to filter the messages received during that time.public org.jivesoftware.smack.util.XmlStringBuilder toXML()
toXML
in interface org.jivesoftware.smack.packet.Element
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.NamedElement