public class MessageArchivingModule extends Object implements XmppModule, PacketWriterAware
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageArchivingModule.CollectionAsyncCallback |
static class |
MessageArchivingModule.ItemsAsyncCallback |
static class |
MessageArchivingModule.Settings |
static class |
MessageArchivingModule.SettingsAsyncCallback |
| Constructor and Description |
|---|
MessageArchivingModule() |
public Criteria getCriteria()
XmppModulegetCriteria in interface XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
getFeatures in interface XmppModulepublic void getSettings(MessageArchivingModule.SettingsAsyncCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppException@Deprecated public void listCollections(JID withJid, Date startTime, Date endTime, String afterId, MessageArchivingModule.CollectionAsyncCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionpublic void listCollections(Criteria crit, MessageArchivingModule.CollectionAsyncCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionpublic void process(Element element) throws XMPPException, XMLException, JaxmppException
XmppModuleprocess in interface XmppModuleelement - incoming XMPP stanzaXMPPExceptionXMLExceptionJaxmppExceptionpublic void retrieveCollection(Criteria crit, MessageArchivingModule.ItemsAsyncCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppException@Deprecated public void retriveCollection(JID withJid, Date startTime, Date endTime, String afterId, Integer index, Integer maxCount, MessageArchivingModule.ItemsAsyncCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionpublic void setAutoArchive(boolean enable,
AsyncCallback callback)
throws JaxmppException
JaxmppExceptionpublic void setPacketWriter(PacketWriter packetWriter)
PacketWriterAwaresetPacketWriter in interface PacketWriterAwarepacketWriter - PacketWriterpublic void setSettings(MessageArchivingModule.Settings settings, AsyncCallback callback) throws JaxmppException
JaxmppExceptionCopyright © 2006–2018 Tigase. All rights reserved.