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 |
---|
History()
Deprecated.
use
MUCInitialPresence.History(int, int, int, Date) instead. |
History(int maxChars,
int maxStanzas,
int seconds,
java.util.Date since) |
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)
Deprecated.
use
MUCInitialPresence.History(int, int, int, Date) instead. |
void |
setMaxStanzas(int maxStanzas)
Deprecated.
use
MUCInitialPresence.History(int, int, int, Date) instead. |
void |
setSeconds(int seconds)
Deprecated.
use
MUCInitialPresence.History(int, int, int, Date) instead. |
void |
setSince(java.util.Date since)
Deprecated.
use
MUCInitialPresence.History(int, int, int, Date) instead. |
org.jivesoftware.smack.util.XmlStringBuilder |
toXML() |
public static final java.lang.String ELEMENT
@Deprecated public History()
MUCInitialPresence.History(int, int, int, Date)
instead.public History(int maxChars, int maxStanzas, int seconds, java.util.Date since)
public int getMaxChars()
public int getMaxStanzas()
public int getSeconds()
public java.util.Date getSince()
@Deprecated public void setMaxChars(int maxChars)
MUCInitialPresence.History(int, int, int, Date)
instead.maxChars
- the total number of characters to receive in the history.@Deprecated public void setMaxStanzas(int maxStanzas)
MUCInitialPresence.History(int, int, int, Date)
instead.maxStanzas
- the total number of messages to receive in the history.@Deprecated public void setSeconds(int seconds)
MUCInitialPresence.History(int, int, int, Date)
instead.seconds
- the number of seconds to use to filter the messages received during
that time.@Deprecated public void setSince(java.util.Date since)
MUCInitialPresence.History(int, int, int, Date)
instead.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