Uses of Class
rocks.xmpp.extensions.muc.model.DiscussionHistory
-
Packages that use DiscussionHistory Package Description rocks.xmpp.extensions.muc Provides classes for XEP-0045: Multi-User Chat.rocks.xmpp.extensions.muc.model Provides XML schema implementations and configuration classes for XEP-0045: Multi-User Chat. -
-
Uses of DiscussionHistory in rocks.xmpp.extensions.muc
Methods in rocks.xmpp.extensions.muc with parameters of type DiscussionHistory Modifier and Type Method Description AsyncResult<Presence>
ChatRoom. enter(String nick, String password, DiscussionHistory history)
Enters the room with a password and requests history messages.AsyncResult<Presence>
ChatRoom. enter(String nick, DiscussionHistory history)
Enters the room and requests history messages. -
Uses of DiscussionHistory in rocks.xmpp.extensions.muc.model
Methods in rocks.xmpp.extensions.muc.model that return DiscussionHistory Modifier and Type Method Description static DiscussionHistory
DiscussionHistory. forMaxChars(int maxChars)
Limit the total number of characters in the history to "X" (where the character count is the characters of the complete XML stanzas, not only their XML character data).static DiscussionHistory
DiscussionHistory. forMaxMessages(int maxMessages)
Limit the total number of messages in the history to "X".static DiscussionHistory
DiscussionHistory. forSeconds(int seconds)
Send only the messages received in the last "X" seconds.DiscussionHistory
Muc. getHistory()
Gets the history.static DiscussionHistory
DiscussionHistory. none()
Send no history.static DiscussionHistory
DiscussionHistory. since(Instant date)
Send only the messages received since the date.Methods in rocks.xmpp.extensions.muc.model with parameters of type DiscussionHistory Modifier and Type Method Description static Muc
Muc. withHistory(DiscussionHistory discussionHistory)
Creates an element with a history element, indicating the user wishes to retrieve history.static Muc
Muc. withPasswordAndHistory(String password, DiscussionHistory discussionHistory)
Creates an element with a history element and a password for the room.
-