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 DiscussionHistoryDiscussionHistory. 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 DiscussionHistoryDiscussionHistory. forMaxMessages(int maxMessages)Limit the total number of messages in the history to "X".static DiscussionHistoryDiscussionHistory. forSeconds(int seconds)Send only the messages received in the last "X" seconds.DiscussionHistoryMuc. getHistory()Gets the history.static DiscussionHistoryDiscussionHistory. none()Send no history.static DiscussionHistoryDiscussionHistory. 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 MucMuc. withHistory(DiscussionHistory discussionHistory)Creates an element with a history element, indicating the user wishes to retrieve history.static MucMuc. withPasswordAndHistory(String password, DiscussionHistory discussionHistory)Creates an element with a history element and a password for the room.
-