public abstract class AbstractHistoryProvider<DS extends tigase.db.DataSource> extends Object implements HistoryProvider<DS>
| Modifier and Type | Field and Description |
|---|---|
protected Logger |
log |
protected static tigase.xml.SimpleParser |
parser |
| Constructor and Description |
|---|
AbstractHistoryProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected static <Q extends tigase.xmpp.mam.Query> |
calculateOffsetAndPosition(Q query,
int count,
Integer before,
Integer after) |
static tigase.server.Packet |
createMessage(tigase.xmpp.BareJID roomJID,
tigase.xmpp.JID senderJID,
String msgSenderNickname,
String originalMessage,
String body,
String msgSenderJid,
boolean addRealJids,
Date msgTimestamp) |
static tigase.xml.Element |
createMessageElement(tigase.xmpp.BareJID roomJID,
tigase.xmpp.JID senderJID,
String msgSenderNickname,
String originalMessage,
String body) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddJoinEvent, addLeaveEvent, addMessage, addSubjectChange, destroy, getHistoryMessages, isPersistent, removeHistoryprotected static final tigase.xml.SimpleParser parser
protected final Logger log
public static tigase.xml.Element createMessageElement(tigase.xmpp.BareJID roomJID,
tigase.xmpp.JID senderJID,
String msgSenderNickname,
String originalMessage,
String body)
throws tigase.util.TigaseStringprepException
tigase.util.TigaseStringprepExceptionpublic static tigase.server.Packet createMessage(tigase.xmpp.BareJID roomJID,
tigase.xmpp.JID senderJID,
String msgSenderNickname,
String originalMessage,
String body,
String msgSenderJid,
boolean addRealJids,
Date msgTimestamp)
throws tigase.util.TigaseStringprepException
tigase.util.TigaseStringprepExceptionCopyright © 2007–2017 Tigase. All rights reserved.