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()
XmppModule
getCriteria
in interface XmppModule
public String[] getFeatures()
XmppModule
Returns features what are implemented by Module.
getFeatures
in interface XmppModule
public void getSettings(MessageArchivingModule.SettingsAsyncCallback callback) throws XMLException, JaxmppException
XMLException
JaxmppException
@Deprecated public void listCollections(JID withJid, Date startTime, Date endTime, String afterId, MessageArchivingModule.CollectionAsyncCallback callback) throws XMLException, JaxmppException
XMLException
JaxmppException
public void listCollections(Criteria crit, MessageArchivingModule.CollectionAsyncCallback callback) throws XMLException, JaxmppException
XMLException
JaxmppException
public void process(Element element) throws XMPPException, XMLException, JaxmppException
XmppModule
process
in interface XmppModule
element
- incoming XMPP stanzaXMPPException
XMLException
JaxmppException
public void retrieveCollection(Criteria crit, MessageArchivingModule.ItemsAsyncCallback callback) throws XMLException, JaxmppException
XMLException
JaxmppException
@Deprecated public void retriveCollection(JID withJid, Date startTime, Date endTime, String afterId, Integer index, Integer maxCount, MessageArchivingModule.ItemsAsyncCallback callback) throws XMLException, JaxmppException
XMLException
JaxmppException
public void setAutoArchive(boolean enable, AsyncCallback callback) throws JaxmppException
JaxmppException
public void setPacketWriter(PacketWriter packetWriter)
PacketWriterAware
setPacketWriter
in interface PacketWriterAware
packetWriter
- PacketWriterpublic void setSettings(MessageArchivingModule.Settings settings, AsyncCallback callback) throws JaxmppException
JaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.