|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.muc.DiscussionHistory
public class DiscussionHistory
The DiscussionHistory class controls the number of characters or messages to receive when entering a room. The room will decide the amount of history to return if you don't specify a DiscussionHistory while joining a room.
You can use some or all of these variable to control the amount of history to receive:
| Constructor Summary | |
|---|---|
DiscussionHistory()
|
|
| Method Summary | |
|---|---|
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. |
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(Date since)
Sets the since date to use to filter the messages received during that time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiscussionHistory()
| Method Detail |
|---|
public int getMaxChars()
public int getMaxStanzas()
public int getSeconds()
public 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(Date since)
since - the since date to use to filter the messages received during that time.
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||